Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
package proxyser
import "fmt"
// IllegalInvUserError 非法推广用户
type IllegalInvUserError struct {
UID uint64
Parent uint64
}
func (i IllegalInvUserError) Error() string {
return fmt.Sprintf("illegal invite uid: %d, parent: %d", i.UID, i.Parent)
}
// SelfInvError 自我推广错误
type SelfInvError struct {
uid uint64
}
func (s SelfInvError) Error() string {
return fmt.Sprintf("self invitation error! uid: %d", s.uid)
}
// PromStrInvalidError 推广码无效错误
type PromStrInvalidError struct {
PromCode string
}
func (p PromStrInvalidError) Error() string {
return fmt.Sprintf("invalid promCode str: %s", p.PromCode)
}