Documentation ¶
Index ¶
- Variables
- func RALCheckPassword(s string) bool
- func RALCheckUsername(s string) bool
- type FeedRequest
- func (p *FeedRequest) BLength() int
- func (p *FeedRequest) DeepEqual(ano *FeedRequest) bool
- func (p *FeedRequest) FastRead(buf []byte) (int, error)
- func (p *FeedRequest) FastReadField1(buf []byte) (int, error)
- func (p *FeedRequest) FastReadField2(buf []byte) (int, error)
- func (p *FeedRequest) FastWrite(buf []byte) int
- func (p *FeedRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedRequest) Field1DeepEqual(src *int64) bool
- func (p *FeedRequest) Field2DeepEqual(src *string) bool
- func (p *FeedRequest) GetLatestTime() (v int64)
- func (p *FeedRequest) GetToken() (v string)
- func (p *FeedRequest) InitDefault()
- func (p *FeedRequest) IsSetLatestTime() bool
- func (p *FeedRequest) IsSetToken() bool
- func (p *FeedRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FeedRequest) SetLatestTime(val *int64)
- func (p *FeedRequest) SetToken(val *string)
- func (p *FeedRequest) String() string
- func (p *FeedRequest) Write(oprot thrift.TProtocol) (err error)
- type FeedResponse
- func (p *FeedResponse) BLength() int
- func (p *FeedResponse) DeepEqual(ano *FeedResponse) bool
- func (p *FeedResponse) FastRead(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField1(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField2(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField3(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField4(buf []byte) (int, error)
- func (p *FeedResponse) FastWrite(buf []byte) int
- func (p *FeedResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedResponse) Field1DeepEqual(src int32) bool
- func (p *FeedResponse) Field2DeepEqual(src *string) bool
- func (p *FeedResponse) Field3DeepEqual(src []*Video) bool
- func (p *FeedResponse) Field4DeepEqual(src *int64) bool
- func (p *FeedResponse) GetNextTime() (v int64)
- func (p *FeedResponse) GetStatusCode() (v int32)
- func (p *FeedResponse) GetStatusMsg() (v string)
- func (p *FeedResponse) GetVideoList() (v []*Video)
- func (p *FeedResponse) InitDefault()
- func (p *FeedResponse) IsSetNextTime() bool
- func (p *FeedResponse) IsSetStatusMsg() bool
- func (p *FeedResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *FeedResponse) SetNextTime(val *int64)
- func (p *FeedResponse) SetStatusCode(val int32)
- func (p *FeedResponse) SetStatusMsg(val *string)
- func (p *FeedResponse) SetVideoList(val []*Video)
- func (p *FeedResponse) String() string
- func (p *FeedResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishActionRequest
- func (p *PublishActionRequest) BLength() int
- func (p *PublishActionRequest) DeepEqual(ano *PublishActionRequest) bool
- func (p *PublishActionRequest) FastRead(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField4(buf []byte) (int, error)
- func (p *PublishActionRequest) FastWrite(buf []byte) int
- func (p *PublishActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishActionRequest) Field1DeepEqual(src string) bool
- func (p *PublishActionRequest) Field2DeepEqual(src string) bool
- func (p *PublishActionRequest) Field3DeepEqual(src string) bool
- func (p *PublishActionRequest) Field4DeepEqual(src string) bool
- func (p *PublishActionRequest) GetCoverPath() (v string)
- func (p *PublishActionRequest) GetFilePath() (v string)
- func (p *PublishActionRequest) GetTitle() (v string)
- func (p *PublishActionRequest) GetToken() (v string)
- func (p *PublishActionRequest) InitDefault()
- func (p *PublishActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) SetCoverPath(val string)
- func (p *PublishActionRequest) SetFilePath(val string)
- func (p *PublishActionRequest) SetTitle(val string)
- func (p *PublishActionRequest) SetToken(val string)
- func (p *PublishActionRequest) String() string
- func (p *PublishActionRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishActionResponse
- func (p *PublishActionResponse) BLength() int
- func (p *PublishActionResponse) DeepEqual(ano *PublishActionResponse) bool
- func (p *PublishActionResponse) FastRead(buf []byte) (int, error)
- func (p *PublishActionResponse) FastReadField1(buf []byte) (int, error)
- func (p *PublishActionResponse) FastReadField2(buf []byte) (int, error)
- func (p *PublishActionResponse) FastWrite(buf []byte) int
- func (p *PublishActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishActionResponse) Field1DeepEqual(src int32) bool
- func (p *PublishActionResponse) Field2DeepEqual(src *string) bool
- func (p *PublishActionResponse) GetStatusCode() (v int32)
- func (p *PublishActionResponse) GetStatusMsg() (v string)
- func (p *PublishActionResponse) InitDefault()
- func (p *PublishActionResponse) IsSetStatusMsg() bool
- func (p *PublishActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishActionResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishActionResponse) SetStatusCode(val int32)
- func (p *PublishActionResponse) SetStatusMsg(val *string)
- func (p *PublishActionResponse) String() string
- func (p *PublishActionResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishListRequest
- func (p *PublishListRequest) BLength() int
- func (p *PublishListRequest) DeepEqual(ano *PublishListRequest) bool
- func (p *PublishListRequest) FastRead(buf []byte) (int, error)
- func (p *PublishListRequest) FastReadField1(buf []byte) (int, error)
- func (p *PublishListRequest) FastReadField2(buf []byte) (int, error)
- func (p *PublishListRequest) FastWrite(buf []byte) int
- func (p *PublishListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishListRequest) Field1DeepEqual(src int64) bool
- func (p *PublishListRequest) Field2DeepEqual(src string) bool
- func (p *PublishListRequest) GetToken() (v string)
- func (p *PublishListRequest) GetUserId() (v int64)
- func (p *PublishListRequest) InitDefault()
- func (p *PublishListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishListRequest) SetToken(val string)
- func (p *PublishListRequest) SetUserId(val int64)
- func (p *PublishListRequest) String() string
- func (p *PublishListRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishListResponse
- func (p *PublishListResponse) BLength() int
- func (p *PublishListResponse) DeepEqual(ano *PublishListResponse) bool
- func (p *PublishListResponse) FastRead(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField1(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField2(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField3(buf []byte) (int, error)
- func (p *PublishListResponse) FastWrite(buf []byte) int
- func (p *PublishListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishListResponse) Field1DeepEqual(src int32) bool
- func (p *PublishListResponse) Field2DeepEqual(src *string) bool
- func (p *PublishListResponse) Field3DeepEqual(src []*Video) bool
- func (p *PublishListResponse) GetStatusCode() (v int32)
- func (p *PublishListResponse) GetStatusMsg() (v string)
- func (p *PublishListResponse) GetVideoList() (v []*Video)
- func (p *PublishListResponse) InitDefault()
- func (p *PublishListResponse) IsSetStatusMsg() bool
- func (p *PublishListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *PublishListResponse) SetStatusCode(val int32)
- func (p *PublishListResponse) SetStatusMsg(val *string)
- func (p *PublishListResponse) SetVideoList(val []*Video)
- func (p *PublishListResponse) String() string
- func (p *PublishListResponse) Write(oprot thrift.TProtocol) (err error)
- type Testinfo
- func (p *Testinfo) BLength() int
- func (p *Testinfo) DeepEqual(ano *Testinfo) bool
- func (p *Testinfo) FastRead(buf []byte) (int, error)
- func (p *Testinfo) FastReadField1(buf []byte) (int, error)
- func (p *Testinfo) FastWrite(buf []byte) int
- func (p *Testinfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Testinfo) Field1DeepEqual(src string) bool
- func (p *Testinfo) GetTestinfo() (v string)
- func (p *Testinfo) InitDefault()
- func (p *Testinfo) Read(iprot thrift.TProtocol) (err error)
- func (p *Testinfo) ReadField1(iprot thrift.TProtocol) error
- func (p *Testinfo) SetTestinfo(val string)
- func (p *Testinfo) String() string
- func (p *Testinfo) Write(oprot thrift.TProtocol) (err error)
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field1DeepEqual(src int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src *int64) bool
- func (p *User) Field4DeepEqual(src *int64) bool
- func (p *User) Field5DeepEqual(src bool) bool
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetId() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) InitDefault()
- func (p *User) IsSetFollowCount() bool
- func (p *User) IsSetFollowerCount() bool
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) SetFollowCount(val *int64)
- func (p *User) SetFollowerCount(val *int64)
- func (p *User) SetId(val int64)
- func (p *User) SetIsFollow(val bool)
- func (p *User) SetName(val string)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type UserLoginRequest
- func (p *UserLoginRequest) BLength() int
- func (p *UserLoginRequest) DeepEqual(ano *UserLoginRequest) bool
- func (p *UserLoginRequest) FastRead(buf []byte) (int, error)
- func (p *UserLoginRequest) FastReadField1(buf []byte) (int, error)
- func (p *UserLoginRequest) FastReadField2(buf []byte) (int, error)
- func (p *UserLoginRequest) FastWrite(buf []byte) int
- func (p *UserLoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserLoginRequest) Field1DeepEqual(src string) bool
- func (p *UserLoginRequest) Field2DeepEqual(src string) bool
- func (p *UserLoginRequest) GetPassword() (v string)
- func (p *UserLoginRequest) GetUsername() (v string)
- func (p *UserLoginRequest) InitDefault()
- func (p *UserLoginRequest) IsValid() error
- func (p *UserLoginRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserLoginRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserLoginRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserLoginRequest) SetPassword(val string)
- func (p *UserLoginRequest) SetUsername(val string)
- func (p *UserLoginRequest) String() string
- func (p *UserLoginRequest) Write(oprot thrift.TProtocol) (err error)
- type UserLoginResponse
- func (p *UserLoginResponse) BLength() int
- func (p *UserLoginResponse) DeepEqual(ano *UserLoginResponse) bool
- func (p *UserLoginResponse) FastRead(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField1(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField2(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField3(buf []byte) (int, error)
- func (p *UserLoginResponse) FastReadField4(buf []byte) (int, error)
- func (p *UserLoginResponse) FastWrite(buf []byte) int
- func (p *UserLoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserLoginResponse) Field1DeepEqual(src int32) bool
- func (p *UserLoginResponse) Field2DeepEqual(src *string) bool
- func (p *UserLoginResponse) Field3DeepEqual(src int64) bool
- func (p *UserLoginResponse) Field4DeepEqual(src string) bool
- func (p *UserLoginResponse) GetStatusCode() (v int32)
- func (p *UserLoginResponse) GetStatusMsg() (v string)
- func (p *UserLoginResponse) GetToken() (v string)
- func (p *UserLoginResponse) GetUserId() (v int64)
- func (p *UserLoginResponse) InitDefault()
- func (p *UserLoginResponse) IsSetStatusMsg() bool
- func (p *UserLoginResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserLoginResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *UserLoginResponse) SetStatusCode(val int32)
- func (p *UserLoginResponse) SetStatusMsg(val *string)
- func (p *UserLoginResponse) SetToken(val string)
- func (p *UserLoginResponse) SetUserId(val int64)
- func (p *UserLoginResponse) String() string
- func (p *UserLoginResponse) Write(oprot thrift.TProtocol) (err error)
- type UserRegisterRequest
- func (p *UserRegisterRequest) BLength() int
- func (p *UserRegisterRequest) DeepEqual(ano *UserRegisterRequest) bool
- func (p *UserRegisterRequest) FastRead(buf []byte) (int, error)
- func (p *UserRegisterRequest) FastReadField1(buf []byte) (int, error)
- func (p *UserRegisterRequest) FastReadField2(buf []byte) (int, error)
- func (p *UserRegisterRequest) FastWrite(buf []byte) int
- func (p *UserRegisterRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserRegisterRequest) Field1DeepEqual(src string) bool
- func (p *UserRegisterRequest) Field2DeepEqual(src string) bool
- func (p *UserRegisterRequest) GetPassword() (v string)
- func (p *UserRegisterRequest) GetUsername() (v string)
- func (p *UserRegisterRequest) InitDefault()
- func (p *UserRegisterRequest) IsValid() error
- func (p *UserRegisterRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserRegisterRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserRegisterRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserRegisterRequest) SetPassword(val string)
- func (p *UserRegisterRequest) SetUsername(val string)
- func (p *UserRegisterRequest) String() string
- func (p *UserRegisterRequest) Write(oprot thrift.TProtocol) (err error)
- type UserRegisterResponse
- func (p *UserRegisterResponse) BLength() int
- func (p *UserRegisterResponse) DeepEqual(ano *UserRegisterResponse) bool
- func (p *UserRegisterResponse) FastRead(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField1(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField2(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField3(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastReadField4(buf []byte) (int, error)
- func (p *UserRegisterResponse) FastWrite(buf []byte) int
- func (p *UserRegisterResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserRegisterResponse) Field1DeepEqual(src int32) bool
- func (p *UserRegisterResponse) Field2DeepEqual(src *string) bool
- func (p *UserRegisterResponse) Field3DeepEqual(src int64) bool
- func (p *UserRegisterResponse) Field4DeepEqual(src string) bool
- func (p *UserRegisterResponse) GetStatusCode() (v int32)
- func (p *UserRegisterResponse) GetStatusMsg() (v string)
- func (p *UserRegisterResponse) GetToken() (v string)
- func (p *UserRegisterResponse) GetUserId() (v int64)
- func (p *UserRegisterResponse) InitDefault()
- func (p *UserRegisterResponse) IsSetStatusMsg() bool
- func (p *UserRegisterResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserRegisterResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *UserRegisterResponse) SetStatusCode(val int32)
- func (p *UserRegisterResponse) SetStatusMsg(val *string)
- func (p *UserRegisterResponse) SetToken(val string)
- func (p *UserRegisterResponse) SetUserId(val int64)
- func (p *UserRegisterResponse) String() string
- func (p *UserRegisterResponse) Write(oprot thrift.TProtocol) (err error)
- type UserRequest
- func (p *UserRequest) BLength() int
- func (p *UserRequest) DeepEqual(ano *UserRequest) bool
- func (p *UserRequest) FastRead(buf []byte) (int, error)
- func (p *UserRequest) FastReadField1(buf []byte) (int, error)
- func (p *UserRequest) FastReadField2(buf []byte) (int, error)
- func (p *UserRequest) FastWrite(buf []byte) int
- func (p *UserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserRequest) Field1DeepEqual(src int64) bool
- func (p *UserRequest) Field2DeepEqual(src string) bool
- func (p *UserRequest) GetToken() (v string)
- func (p *UserRequest) GetUserId() (v int64)
- func (p *UserRequest) InitDefault()
- func (p *UserRequest) IsValid() error
- func (p *UserRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserRequest) SetToken(val string)
- func (p *UserRequest) SetUserId(val int64)
- func (p *UserRequest) String() string
- func (p *UserRequest) Write(oprot thrift.TProtocol) (err error)
- type UserResponse
- func (p *UserResponse) BLength() int
- func (p *UserResponse) DeepEqual(ano *UserResponse) bool
- func (p *UserResponse) FastRead(buf []byte) (int, error)
- func (p *UserResponse) FastReadField1(buf []byte) (int, error)
- func (p *UserResponse) FastReadField2(buf []byte) (int, error)
- func (p *UserResponse) FastReadField3(buf []byte) (int, error)
- func (p *UserResponse) FastWrite(buf []byte) int
- func (p *UserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserResponse) Field1DeepEqual(src int32) bool
- func (p *UserResponse) Field2DeepEqual(src *string) bool
- func (p *UserResponse) Field3DeepEqual(src *User) bool
- func (p *UserResponse) GetStatusCode() (v int32)
- func (p *UserResponse) GetStatusMsg() (v string)
- func (p *UserResponse) GetUser() (v *User)
- func (p *UserResponse) InitDefault()
- func (p *UserResponse) IsSetStatusMsg() bool
- func (p *UserResponse) IsSetUser() bool
- func (p *UserResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserResponse) SetStatusCode(val int32)
- func (p *UserResponse) SetStatusMsg(val *string)
- func (p *UserResponse) SetUser(val *User)
- func (p *UserResponse) String() string
- func (p *UserResponse) Write(oprot thrift.TProtocol) (err error)
- type UserService
- type UserServiceClient
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) UserGetFeed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
- func (p *UserServiceClient) UserInfo(ctx context.Context, req *UserRequest) (r *UserResponse, err error)
- func (p *UserServiceClient) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error)
- func (p *UserServiceClient) UserPublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)
- func (p *UserServiceClient) UserPublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)
- func (p *UserServiceClient) UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error)
- func (p *UserServiceClient) UserTest(ctx context.Context, req *Testinfo) (r *Testinfo, err error)
- type UserServiceProcessor
- func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type UserServiceUserGetFeedArgs
- func (p *UserServiceUserGetFeedArgs) BLength() int
- func (p *UserServiceUserGetFeedArgs) DeepEqual(ano *UserServiceUserGetFeedArgs) bool
- func (p *UserServiceUserGetFeedArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserGetFeedArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserGetFeedArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserGetFeedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserGetFeedArgs) Field1DeepEqual(src *FeedRequest) bool
- func (p *UserServiceUserGetFeedArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserGetFeedArgs) GetReq() (v *FeedRequest)
- func (p *UserServiceUserGetFeedArgs) InitDefault()
- func (p *UserServiceUserGetFeedArgs) IsSetReq() bool
- func (p *UserServiceUserGetFeedArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserGetFeedArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserGetFeedArgs) SetReq(val *FeedRequest)
- func (p *UserServiceUserGetFeedArgs) String() string
- func (p *UserServiceUserGetFeedArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserGetFeedResult
- func (p *UserServiceUserGetFeedResult) BLength() int
- func (p *UserServiceUserGetFeedResult) DeepEqual(ano *UserServiceUserGetFeedResult) bool
- func (p *UserServiceUserGetFeedResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserGetFeedResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserGetFeedResult) FastWrite(buf []byte) int
- func (p *UserServiceUserGetFeedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserGetFeedResult) Field0DeepEqual(src *FeedResponse) bool
- func (p *UserServiceUserGetFeedResult) GetResult() interface{}
- func (p *UserServiceUserGetFeedResult) GetSuccess() (v *FeedResponse)
- func (p *UserServiceUserGetFeedResult) InitDefault()
- func (p *UserServiceUserGetFeedResult) IsSetSuccess() bool
- func (p *UserServiceUserGetFeedResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserGetFeedResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserGetFeedResult) SetSuccess(x interface{})
- func (p *UserServiceUserGetFeedResult) String() string
- func (p *UserServiceUserGetFeedResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserInfoArgs
- func (p *UserServiceUserInfoArgs) BLength() int
- func (p *UserServiceUserInfoArgs) DeepEqual(ano *UserServiceUserInfoArgs) bool
- func (p *UserServiceUserInfoArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserInfoArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserInfoArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserInfoArgs) Field1DeepEqual(src *UserRequest) bool
- func (p *UserServiceUserInfoArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserInfoArgs) GetReq() (v *UserRequest)
- func (p *UserServiceUserInfoArgs) InitDefault()
- func (p *UserServiceUserInfoArgs) IsSetReq() bool
- func (p *UserServiceUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserInfoArgs) SetReq(val *UserRequest)
- func (p *UserServiceUserInfoArgs) String() string
- func (p *UserServiceUserInfoArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserInfoResult
- func (p *UserServiceUserInfoResult) BLength() int
- func (p *UserServiceUserInfoResult) DeepEqual(ano *UserServiceUserInfoResult) bool
- func (p *UserServiceUserInfoResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserInfoResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserInfoResult) FastWrite(buf []byte) int
- func (p *UserServiceUserInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserInfoResult) Field0DeepEqual(src *UserResponse) bool
- func (p *UserServiceUserInfoResult) GetResult() interface{}
- func (p *UserServiceUserInfoResult) GetSuccess() (v *UserResponse)
- func (p *UserServiceUserInfoResult) InitDefault()
- func (p *UserServiceUserInfoResult) IsSetSuccess() bool
- func (p *UserServiceUserInfoResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserInfoResult) SetSuccess(x interface{})
- func (p *UserServiceUserInfoResult) String() string
- func (p *UserServiceUserInfoResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserLoginArgs
- func (p *UserServiceUserLoginArgs) BLength() int
- func (p *UserServiceUserLoginArgs) DeepEqual(ano *UserServiceUserLoginArgs) bool
- func (p *UserServiceUserLoginArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserLoginArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserLoginArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserLoginArgs) Field1DeepEqual(src *UserLoginRequest) bool
- func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserLoginArgs) GetReq() (v *UserLoginRequest)
- func (p *UserServiceUserLoginArgs) InitDefault()
- func (p *UserServiceUserLoginArgs) IsSetReq() bool
- func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginArgs) SetReq(val *UserLoginRequest)
- func (p *UserServiceUserLoginArgs) String() string
- func (p *UserServiceUserLoginArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserLoginResult
- func (p *UserServiceUserLoginResult) BLength() int
- func (p *UserServiceUserLoginResult) DeepEqual(ano *UserServiceUserLoginResult) bool
- func (p *UserServiceUserLoginResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserLoginResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserLoginResult) FastWrite(buf []byte) int
- func (p *UserServiceUserLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserLoginResult) Field0DeepEqual(src *UserLoginResponse) bool
- func (p *UserServiceUserLoginResult) GetResult() interface{}
- func (p *UserServiceUserLoginResult) GetSuccess() (v *UserLoginResponse)
- func (p *UserServiceUserLoginResult) InitDefault()
- func (p *UserServiceUserLoginResult) IsSetSuccess() bool
- func (p *UserServiceUserLoginResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginResult) SetSuccess(x interface{})
- func (p *UserServiceUserLoginResult) String() string
- func (p *UserServiceUserLoginResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserPublishActionArgs
- func (p *UserServiceUserPublishActionArgs) BLength() int
- func (p *UserServiceUserPublishActionArgs) DeepEqual(ano *UserServiceUserPublishActionArgs) bool
- func (p *UserServiceUserPublishActionArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserPublishActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserPublishActionArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserPublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserPublishActionArgs) Field1DeepEqual(src *PublishActionRequest) bool
- func (p *UserServiceUserPublishActionArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserPublishActionArgs) GetReq() (v *PublishActionRequest)
- func (p *UserServiceUserPublishActionArgs) InitDefault()
- func (p *UserServiceUserPublishActionArgs) IsSetReq() bool
- func (p *UserServiceUserPublishActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserPublishActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserPublishActionArgs) SetReq(val *PublishActionRequest)
- func (p *UserServiceUserPublishActionArgs) String() string
- func (p *UserServiceUserPublishActionArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserPublishActionResult
- func (p *UserServiceUserPublishActionResult) BLength() int
- func (p *UserServiceUserPublishActionResult) DeepEqual(ano *UserServiceUserPublishActionResult) bool
- func (p *UserServiceUserPublishActionResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserPublishActionResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserPublishActionResult) FastWrite(buf []byte) int
- func (p *UserServiceUserPublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserPublishActionResult) Field0DeepEqual(src *PublishActionResponse) bool
- func (p *UserServiceUserPublishActionResult) GetResult() interface{}
- func (p *UserServiceUserPublishActionResult) GetSuccess() (v *PublishActionResponse)
- func (p *UserServiceUserPublishActionResult) InitDefault()
- func (p *UserServiceUserPublishActionResult) IsSetSuccess() bool
- func (p *UserServiceUserPublishActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserPublishActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserPublishActionResult) SetSuccess(x interface{})
- func (p *UserServiceUserPublishActionResult) String() string
- func (p *UserServiceUserPublishActionResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserPublishListArgs
- func (p *UserServiceUserPublishListArgs) BLength() int
- func (p *UserServiceUserPublishListArgs) DeepEqual(ano *UserServiceUserPublishListArgs) bool
- func (p *UserServiceUserPublishListArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserPublishListArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserPublishListArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserPublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserPublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
- func (p *UserServiceUserPublishListArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserPublishListArgs) GetReq() (v *PublishListRequest)
- func (p *UserServiceUserPublishListArgs) InitDefault()
- func (p *UserServiceUserPublishListArgs) IsSetReq() bool
- func (p *UserServiceUserPublishListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserPublishListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserPublishListArgs) SetReq(val *PublishListRequest)
- func (p *UserServiceUserPublishListArgs) String() string
- func (p *UserServiceUserPublishListArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserPublishListResult
- func (p *UserServiceUserPublishListResult) BLength() int
- func (p *UserServiceUserPublishListResult) DeepEqual(ano *UserServiceUserPublishListResult) bool
- func (p *UserServiceUserPublishListResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserPublishListResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserPublishListResult) FastWrite(buf []byte) int
- func (p *UserServiceUserPublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserPublishListResult) Field0DeepEqual(src *PublishListResponse) bool
- func (p *UserServiceUserPublishListResult) GetResult() interface{}
- func (p *UserServiceUserPublishListResult) GetSuccess() (v *PublishListResponse)
- func (p *UserServiceUserPublishListResult) InitDefault()
- func (p *UserServiceUserPublishListResult) IsSetSuccess() bool
- func (p *UserServiceUserPublishListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserPublishListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserPublishListResult) SetSuccess(x interface{})
- func (p *UserServiceUserPublishListResult) String() string
- func (p *UserServiceUserPublishListResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserRegisterArgs
- func (p *UserServiceUserRegisterArgs) BLength() int
- func (p *UserServiceUserRegisterArgs) DeepEqual(ano *UserServiceUserRegisterArgs) bool
- func (p *UserServiceUserRegisterArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserRegisterArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserRegisterArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserRegisterArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserRegisterArgs) Field1DeepEqual(src *UserRegisterRequest) bool
- func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserRegisterArgs) GetReq() (v *UserRegisterRequest)
- func (p *UserServiceUserRegisterArgs) InitDefault()
- func (p *UserServiceUserRegisterArgs) IsSetReq() bool
- func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterArgs) SetReq(val *UserRegisterRequest)
- func (p *UserServiceUserRegisterArgs) String() string
- func (p *UserServiceUserRegisterArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserRegisterResult
- func (p *UserServiceUserRegisterResult) BLength() int
- func (p *UserServiceUserRegisterResult) DeepEqual(ano *UserServiceUserRegisterResult) bool
- func (p *UserServiceUserRegisterResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserRegisterResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserRegisterResult) FastWrite(buf []byte) int
- func (p *UserServiceUserRegisterResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserRegisterResult) Field0DeepEqual(src *UserRegisterResponse) bool
- func (p *UserServiceUserRegisterResult) GetResult() interface{}
- func (p *UserServiceUserRegisterResult) GetSuccess() (v *UserRegisterResponse)
- func (p *UserServiceUserRegisterResult) InitDefault()
- func (p *UserServiceUserRegisterResult) IsSetSuccess() bool
- func (p *UserServiceUserRegisterResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterResult) SetSuccess(x interface{})
- func (p *UserServiceUserRegisterResult) String() string
- func (p *UserServiceUserRegisterResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserTestArgs
- func (p *UserServiceUserTestArgs) BLength() int
- func (p *UserServiceUserTestArgs) DeepEqual(ano *UserServiceUserTestArgs) bool
- func (p *UserServiceUserTestArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserTestArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceUserTestArgs) FastWrite(buf []byte) int
- func (p *UserServiceUserTestArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserTestArgs) Field1DeepEqual(src *Testinfo) bool
- func (p *UserServiceUserTestArgs) GetFirstArgument() interface{}
- func (p *UserServiceUserTestArgs) GetReq() (v *Testinfo)
- func (p *UserServiceUserTestArgs) InitDefault()
- func (p *UserServiceUserTestArgs) IsSetReq() bool
- func (p *UserServiceUserTestArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserTestArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserTestArgs) SetReq(val *Testinfo)
- func (p *UserServiceUserTestArgs) String() string
- func (p *UserServiceUserTestArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserTestResult
- func (p *UserServiceUserTestResult) BLength() int
- func (p *UserServiceUserTestResult) DeepEqual(ano *UserServiceUserTestResult) bool
- func (p *UserServiceUserTestResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceUserTestResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceUserTestResult) FastWrite(buf []byte) int
- func (p *UserServiceUserTestResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserServiceUserTestResult) Field0DeepEqual(src *Testinfo) bool
- func (p *UserServiceUserTestResult) GetResult() interface{}
- func (p *UserServiceUserTestResult) GetSuccess() (v *Testinfo)
- func (p *UserServiceUserTestResult) InitDefault()
- func (p *UserServiceUserTestResult) IsSetSuccess() bool
- func (p *UserServiceUserTestResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserTestResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserTestResult) SetSuccess(x interface{})
- func (p *UserServiceUserTestResult) String() string
- func (p *UserServiceUserTestResult) Write(oprot thrift.TProtocol) (err error)
- type Video
- func (p *Video) BLength() int
- func (p *Video) DeepEqual(ano *Video) bool
- func (p *Video) FastRead(buf []byte) (int, error)
- func (p *Video) FastReadField1(buf []byte) (int, error)
- func (p *Video) FastReadField2(buf []byte) (int, error)
- func (p *Video) FastReadField3(buf []byte) (int, error)
- func (p *Video) FastReadField4(buf []byte) (int, error)
- func (p *Video) FastReadField5(buf []byte) (int, error)
- func (p *Video) FastReadField6(buf []byte) (int, error)
- func (p *Video) FastReadField7(buf []byte) (int, error)
- func (p *Video) FastReadField8(buf []byte) (int, error)
- func (p *Video) FastWrite(buf []byte) int
- func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Video) Field1DeepEqual(src int64) bool
- func (p *Video) Field2DeepEqual(src *User) bool
- func (p *Video) Field3DeepEqual(src string) bool
- func (p *Video) Field4DeepEqual(src string) bool
- func (p *Video) Field5DeepEqual(src int64) bool
- func (p *Video) Field6DeepEqual(src int64) bool
- func (p *Video) Field7DeepEqual(src bool) bool
- func (p *Video) Field8DeepEqual(src string) bool
- func (p *Video) GetAuthor() (v *User)
- func (p *Video) GetCommentCount() (v int64)
- func (p *Video) GetCoverPath() (v string)
- func (p *Video) GetFavoriteCount() (v int64)
- func (p *Video) GetId() (v int64)
- func (p *Video) GetIsFavorite() (v bool)
- func (p *Video) GetPlayPath() (v string)
- func (p *Video) GetTitle() (v string)
- func (p *Video) InitDefault()
- func (p *Video) IsSetAuthor() bool
- func (p *Video) Read(iprot thrift.TProtocol) (err error)
- func (p *Video) ReadField1(iprot thrift.TProtocol) error
- func (p *Video) ReadField2(iprot thrift.TProtocol) error
- func (p *Video) ReadField3(iprot thrift.TProtocol) error
- func (p *Video) ReadField4(iprot thrift.TProtocol) error
- func (p *Video) ReadField5(iprot thrift.TProtocol) error
- func (p *Video) ReadField6(iprot thrift.TProtocol) error
- func (p *Video) ReadField7(iprot thrift.TProtocol) error
- func (p *Video) ReadField8(iprot thrift.TProtocol) error
- func (p *Video) SetAuthor(val *User)
- func (p *Video) SetCommentCount(val int64)
- func (p *Video) SetCoverPath(val string)
- func (p *Video) SetFavoriteCount(val int64)
- func (p *Video) SetId(val int64)
- func (p *Video) SetIsFavorite(val bool)
- func (p *Video) SetPlayPath(val string)
- func (p *Video) SetTitle(val string)
- func (p *Video) String() string
- func (p *Video) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var FeedRequest_LatestTime_DEFAULT int64
View Source
var FeedRequest_Token_DEFAULT string
View Source
var FeedResponse_NextTime_DEFAULT int64
View Source
var FeedResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{} // nolint:all
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var PublishActionResponse_StatusMsg_DEFAULT string
View Source
var PublishListResponse_StatusMsg_DEFAULT string
View Source
var UserLoginResponse_StatusMsg_DEFAULT string
View Source
var UserRegisterResponse_StatusMsg_DEFAULT string
View Source
var UserResponse_StatusMsg_DEFAULT string
View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64
Functions ¶
func RALCheckPassword ¶
func RALCheckUsername ¶
合法return nil 不合法return 错误信息 只能由字母、数字和下划线组成,且必须以字母开头。
Types ¶
type FeedRequest ¶
type FeedRequest struct { LatestTime *int64 `thrift:"LatestTime,1,optional" frugal:"1,optional,i64" json:"latest_time"` Token *string `thrift:"Token,2,optional" frugal:"2,optional,string" json:"token"` }
var UserServiceUserGetFeedArgs_Req_DEFAULT *FeedRequest
func NewFeedRequest ¶
func NewFeedRequest() *FeedRequest
func (*FeedRequest) BLength ¶
func (p *FeedRequest) BLength() int
func (*FeedRequest) DeepEqual ¶
func (p *FeedRequest) DeepEqual(ano *FeedRequest) bool
func (*FeedRequest) FastReadField1 ¶
func (p *FeedRequest) FastReadField1(buf []byte) (int, error)
func (*FeedRequest) FastReadField2 ¶
func (p *FeedRequest) FastReadField2(buf []byte) (int, error)
func (*FeedRequest) FastWriteNocopy ¶
func (p *FeedRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FeedRequest) Field1DeepEqual ¶
func (p *FeedRequest) Field1DeepEqual(src *int64) bool
func (*FeedRequest) Field2DeepEqual ¶
func (p *FeedRequest) Field2DeepEqual(src *string) bool
func (*FeedRequest) GetLatestTime ¶
func (p *FeedRequest) GetLatestTime() (v int64)
func (*FeedRequest) GetToken ¶
func (p *FeedRequest) GetToken() (v string)
func (*FeedRequest) InitDefault ¶
func (p *FeedRequest) InitDefault()
func (*FeedRequest) IsSetLatestTime ¶
func (p *FeedRequest) IsSetLatestTime() bool
func (*FeedRequest) IsSetToken ¶
func (p *FeedRequest) IsSetToken() bool
func (*FeedRequest) ReadField1 ¶
func (p *FeedRequest) ReadField1(iprot thrift.TProtocol) error
func (*FeedRequest) ReadField2 ¶
func (p *FeedRequest) ReadField2(iprot thrift.TProtocol) error
func (*FeedRequest) SetLatestTime ¶
func (p *FeedRequest) SetLatestTime(val *int64)
func (*FeedRequest) SetToken ¶
func (p *FeedRequest) SetToken(val *string)
func (*FeedRequest) String ¶
func (p *FeedRequest) String() string
type FeedResponse ¶
type FeedResponse struct { StatusCode int32 `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` VideoList []*Video `thrift:"VideoList,3" frugal:"3,default,list<Video>" json:"video_list"` NextTime *int64 `thrift:"NextTime,4,optional" frugal:"4,optional,i64" json:"next_time"` }
var UserServiceUserGetFeedResult_Success_DEFAULT *FeedResponse
func NewFeedResponse ¶
func NewFeedResponse() *FeedResponse
func (*FeedResponse) BLength ¶
func (p *FeedResponse) BLength() int
func (*FeedResponse) DeepEqual ¶
func (p *FeedResponse) DeepEqual(ano *FeedResponse) bool
func (*FeedResponse) FastReadField1 ¶
func (p *FeedResponse) FastReadField1(buf []byte) (int, error)
func (*FeedResponse) FastReadField2 ¶
func (p *FeedResponse) FastReadField2(buf []byte) (int, error)
func (*FeedResponse) FastReadField3 ¶
func (p *FeedResponse) FastReadField3(buf []byte) (int, error)
func (*FeedResponse) FastReadField4 ¶
func (p *FeedResponse) FastReadField4(buf []byte) (int, error)
func (*FeedResponse) FastWriteNocopy ¶
func (p *FeedResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FeedResponse) Field1DeepEqual ¶
func (p *FeedResponse) Field1DeepEqual(src int32) bool
func (*FeedResponse) Field2DeepEqual ¶
func (p *FeedResponse) Field2DeepEqual(src *string) bool
func (*FeedResponse) Field3DeepEqual ¶
func (p *FeedResponse) Field3DeepEqual(src []*Video) bool
func (*FeedResponse) Field4DeepEqual ¶
func (p *FeedResponse) Field4DeepEqual(src *int64) bool
func (*FeedResponse) GetNextTime ¶
func (p *FeedResponse) GetNextTime() (v int64)
func (*FeedResponse) GetStatusCode ¶
func (p *FeedResponse) GetStatusCode() (v int32)
func (*FeedResponse) GetStatusMsg ¶
func (p *FeedResponse) GetStatusMsg() (v string)
func (*FeedResponse) GetVideoList ¶
func (p *FeedResponse) GetVideoList() (v []*Video)
func (*FeedResponse) InitDefault ¶
func (p *FeedResponse) InitDefault()
func (*FeedResponse) IsSetNextTime ¶
func (p *FeedResponse) IsSetNextTime() bool
func (*FeedResponse) IsSetStatusMsg ¶
func (p *FeedResponse) IsSetStatusMsg() bool
func (*FeedResponse) ReadField1 ¶
func (p *FeedResponse) ReadField1(iprot thrift.TProtocol) error
func (*FeedResponse) ReadField2 ¶
func (p *FeedResponse) ReadField2(iprot thrift.TProtocol) error
func (*FeedResponse) ReadField3 ¶
func (p *FeedResponse) ReadField3(iprot thrift.TProtocol) error
func (*FeedResponse) ReadField4 ¶
func (p *FeedResponse) ReadField4(iprot thrift.TProtocol) error
func (*FeedResponse) SetNextTime ¶
func (p *FeedResponse) SetNextTime(val *int64)
func (*FeedResponse) SetStatusCode ¶
func (p *FeedResponse) SetStatusCode(val int32)
func (*FeedResponse) SetStatusMsg ¶
func (p *FeedResponse) SetStatusMsg(val *string)
func (*FeedResponse) SetVideoList ¶
func (p *FeedResponse) SetVideoList(val []*Video)
func (*FeedResponse) String ¶
func (p *FeedResponse) String() string
type PublishActionRequest ¶
type PublishActionRequest struct { Token string `thrift:"Token,1" frugal:"1,default,string" json:"token"` FilePath string `thrift:"FilePath,2" frugal:"2,default,string" json:"file_path"` CoverPath string `thrift:"CoverPath,3" frugal:"3,default,string" json:"cover_path"` Title string `thrift:"Title,4" frugal:"4,default,string" json:"title"` }
var UserServiceUserPublishActionArgs_Req_DEFAULT *PublishActionRequest
func NewPublishActionRequest ¶
func NewPublishActionRequest() *PublishActionRequest
func (*PublishActionRequest) BLength ¶
func (p *PublishActionRequest) BLength() int
func (*PublishActionRequest) DeepEqual ¶
func (p *PublishActionRequest) DeepEqual(ano *PublishActionRequest) bool
func (*PublishActionRequest) FastRead ¶
func (p *PublishActionRequest) FastRead(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField1 ¶
func (p *PublishActionRequest) FastReadField1(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField2 ¶
func (p *PublishActionRequest) FastReadField2(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField3 ¶
func (p *PublishActionRequest) FastReadField3(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField4 ¶
func (p *PublishActionRequest) FastReadField4(buf []byte) (int, error)
func (*PublishActionRequest) FastWrite ¶
func (p *PublishActionRequest) FastWrite(buf []byte) int
for compatibility
func (*PublishActionRequest) FastWriteNocopy ¶
func (p *PublishActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishActionRequest) Field1DeepEqual ¶
func (p *PublishActionRequest) Field1DeepEqual(src string) bool
func (*PublishActionRequest) Field2DeepEqual ¶
func (p *PublishActionRequest) Field2DeepEqual(src string) bool
func (*PublishActionRequest) Field3DeepEqual ¶
func (p *PublishActionRequest) Field3DeepEqual(src string) bool
func (*PublishActionRequest) Field4DeepEqual ¶
func (p *PublishActionRequest) Field4DeepEqual(src string) bool
func (*PublishActionRequest) GetCoverPath ¶
func (p *PublishActionRequest) GetCoverPath() (v string)
func (*PublishActionRequest) GetFilePath ¶
func (p *PublishActionRequest) GetFilePath() (v string)
func (*PublishActionRequest) GetTitle ¶
func (p *PublishActionRequest) GetTitle() (v string)
func (*PublishActionRequest) GetToken ¶
func (p *PublishActionRequest) GetToken() (v string)
func (*PublishActionRequest) InitDefault ¶
func (p *PublishActionRequest) InitDefault()
func (*PublishActionRequest) Read ¶
func (p *PublishActionRequest) Read(iprot thrift.TProtocol) (err error)
func (*PublishActionRequest) ReadField1 ¶
func (p *PublishActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishActionRequest) ReadField2 ¶
func (p *PublishActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishActionRequest) ReadField3 ¶
func (p *PublishActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*PublishActionRequest) ReadField4 ¶
func (p *PublishActionRequest) ReadField4(iprot thrift.TProtocol) error
func (*PublishActionRequest) SetCoverPath ¶
func (p *PublishActionRequest) SetCoverPath(val string)
func (*PublishActionRequest) SetFilePath ¶
func (p *PublishActionRequest) SetFilePath(val string)
func (*PublishActionRequest) SetTitle ¶
func (p *PublishActionRequest) SetTitle(val string)
func (*PublishActionRequest) SetToken ¶
func (p *PublishActionRequest) SetToken(val string)
func (*PublishActionRequest) String ¶
func (p *PublishActionRequest) String() string
type PublishActionResponse ¶
type PublishActionResponse struct { StatusCode int32 `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` }
var UserServiceUserPublishActionResult_Success_DEFAULT *PublishActionResponse
func NewPublishActionResponse ¶
func NewPublishActionResponse() *PublishActionResponse
func (*PublishActionResponse) BLength ¶
func (p *PublishActionResponse) BLength() int
func (*PublishActionResponse) DeepEqual ¶
func (p *PublishActionResponse) DeepEqual(ano *PublishActionResponse) bool
func (*PublishActionResponse) FastRead ¶
func (p *PublishActionResponse) FastRead(buf []byte) (int, error)
func (*PublishActionResponse) FastReadField1 ¶
func (p *PublishActionResponse) FastReadField1(buf []byte) (int, error)
func (*PublishActionResponse) FastReadField2 ¶
func (p *PublishActionResponse) FastReadField2(buf []byte) (int, error)
func (*PublishActionResponse) FastWrite ¶
func (p *PublishActionResponse) FastWrite(buf []byte) int
for compatibility
func (*PublishActionResponse) FastWriteNocopy ¶
func (p *PublishActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishActionResponse) Field1DeepEqual ¶
func (p *PublishActionResponse) Field1DeepEqual(src int32) bool
func (*PublishActionResponse) Field2DeepEqual ¶
func (p *PublishActionResponse) Field2DeepEqual(src *string) bool
func (*PublishActionResponse) GetStatusCode ¶
func (p *PublishActionResponse) GetStatusCode() (v int32)
func (*PublishActionResponse) GetStatusMsg ¶
func (p *PublishActionResponse) GetStatusMsg() (v string)
func (*PublishActionResponse) InitDefault ¶
func (p *PublishActionResponse) InitDefault()
func (*PublishActionResponse) IsSetStatusMsg ¶
func (p *PublishActionResponse) IsSetStatusMsg() bool
func (*PublishActionResponse) Read ¶
func (p *PublishActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*PublishActionResponse) ReadField1 ¶
func (p *PublishActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishActionResponse) ReadField2 ¶
func (p *PublishActionResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishActionResponse) SetStatusCode ¶
func (p *PublishActionResponse) SetStatusCode(val int32)
func (*PublishActionResponse) SetStatusMsg ¶
func (p *PublishActionResponse) SetStatusMsg(val *string)
func (*PublishActionResponse) String ¶
func (p *PublishActionResponse) String() string
type PublishListRequest ¶
type PublishListRequest struct { UserId int64 `thrift:"UserId,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"Token,2" frugal:"2,default,string" json:"token"` }
var UserServiceUserPublishListArgs_Req_DEFAULT *PublishListRequest
func NewPublishListRequest ¶
func NewPublishListRequest() *PublishListRequest
func (*PublishListRequest) BLength ¶
func (p *PublishListRequest) BLength() int
func (*PublishListRequest) DeepEqual ¶
func (p *PublishListRequest) DeepEqual(ano *PublishListRequest) bool
func (*PublishListRequest) FastRead ¶
func (p *PublishListRequest) FastRead(buf []byte) (int, error)
func (*PublishListRequest) FastReadField1 ¶
func (p *PublishListRequest) FastReadField1(buf []byte) (int, error)
func (*PublishListRequest) FastReadField2 ¶
func (p *PublishListRequest) FastReadField2(buf []byte) (int, error)
func (*PublishListRequest) FastWrite ¶
func (p *PublishListRequest) FastWrite(buf []byte) int
for compatibility
func (*PublishListRequest) FastWriteNocopy ¶
func (p *PublishListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishListRequest) Field1DeepEqual ¶
func (p *PublishListRequest) Field1DeepEqual(src int64) bool
func (*PublishListRequest) Field2DeepEqual ¶
func (p *PublishListRequest) Field2DeepEqual(src string) bool
func (*PublishListRequest) GetToken ¶
func (p *PublishListRequest) GetToken() (v string)
func (*PublishListRequest) GetUserId ¶
func (p *PublishListRequest) GetUserId() (v int64)
func (*PublishListRequest) InitDefault ¶
func (p *PublishListRequest) InitDefault()
func (*PublishListRequest) Read ¶
func (p *PublishListRequest) Read(iprot thrift.TProtocol) (err error)
func (*PublishListRequest) ReadField1 ¶
func (p *PublishListRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishListRequest) ReadField2 ¶
func (p *PublishListRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishListRequest) SetToken ¶
func (p *PublishListRequest) SetToken(val string)
func (*PublishListRequest) SetUserId ¶
func (p *PublishListRequest) SetUserId(val int64)
func (*PublishListRequest) String ¶
func (p *PublishListRequest) String() string
type PublishListResponse ¶
type PublishListResponse struct { StatusCode int32 `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` VideoList []*Video `thrift:"VideoList,3" frugal:"3,default,list<Video>" json:"video_list"` }
var UserServiceUserPublishListResult_Success_DEFAULT *PublishListResponse
func NewPublishListResponse ¶
func NewPublishListResponse() *PublishListResponse
func (*PublishListResponse) BLength ¶
func (p *PublishListResponse) BLength() int
func (*PublishListResponse) DeepEqual ¶
func (p *PublishListResponse) DeepEqual(ano *PublishListResponse) bool
func (*PublishListResponse) FastRead ¶
func (p *PublishListResponse) FastRead(buf []byte) (int, error)
func (*PublishListResponse) FastReadField1 ¶
func (p *PublishListResponse) FastReadField1(buf []byte) (int, error)
func (*PublishListResponse) FastReadField2 ¶
func (p *PublishListResponse) FastReadField2(buf []byte) (int, error)
func (*PublishListResponse) FastReadField3 ¶
func (p *PublishListResponse) FastReadField3(buf []byte) (int, error)
func (*PublishListResponse) FastWrite ¶
func (p *PublishListResponse) FastWrite(buf []byte) int
for compatibility
func (*PublishListResponse) FastWriteNocopy ¶
func (p *PublishListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishListResponse) Field1DeepEqual ¶
func (p *PublishListResponse) Field1DeepEqual(src int32) bool
func (*PublishListResponse) Field2DeepEqual ¶
func (p *PublishListResponse) Field2DeepEqual(src *string) bool
func (*PublishListResponse) Field3DeepEqual ¶
func (p *PublishListResponse) Field3DeepEqual(src []*Video) bool
func (*PublishListResponse) GetStatusCode ¶
func (p *PublishListResponse) GetStatusCode() (v int32)
func (*PublishListResponse) GetStatusMsg ¶
func (p *PublishListResponse) GetStatusMsg() (v string)
func (*PublishListResponse) GetVideoList ¶
func (p *PublishListResponse) GetVideoList() (v []*Video)
func (*PublishListResponse) InitDefault ¶
func (p *PublishListResponse) InitDefault()
func (*PublishListResponse) IsSetStatusMsg ¶
func (p *PublishListResponse) IsSetStatusMsg() bool
func (*PublishListResponse) Read ¶
func (p *PublishListResponse) Read(iprot thrift.TProtocol) (err error)
func (*PublishListResponse) ReadField1 ¶
func (p *PublishListResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishListResponse) ReadField2 ¶
func (p *PublishListResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishListResponse) ReadField3 ¶
func (p *PublishListResponse) ReadField3(iprot thrift.TProtocol) error
func (*PublishListResponse) SetStatusCode ¶
func (p *PublishListResponse) SetStatusCode(val int32)
func (*PublishListResponse) SetStatusMsg ¶
func (p *PublishListResponse) SetStatusMsg(val *string)
func (*PublishListResponse) SetVideoList ¶
func (p *PublishListResponse) SetVideoList(val []*Video)
func (*PublishListResponse) String ¶
func (p *PublishListResponse) String() string
type Testinfo ¶
type Testinfo struct {
Testinfo string `thrift:"testinfo,1" frugal:"1,default,string" json:"testinfo"`
}
var UserServiceUserTestArgs_Req_DEFAULT *Testinfo
var UserServiceUserTestResult_Success_DEFAULT *Testinfo
func NewTestinfo ¶
func NewTestinfo() *Testinfo
func (*Testinfo) FastWriteNocopy ¶
func (p *Testinfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Testinfo) Field1DeepEqual ¶
func (*Testinfo) GetTestinfo ¶
func (*Testinfo) InitDefault ¶
func (p *Testinfo) InitDefault()
func (*Testinfo) SetTestinfo ¶
type User ¶
type User struct { Id int64 `thrift:"Id,1" frugal:"1,default,i64" json:"id"` Name string `thrift:"Name,2" frugal:"2,default,string" json:"name"` FollowCount *int64 `thrift:"FollowCount,3,optional" frugal:"3,optional,i64" json:"follow_count"` FollowerCount *int64 `thrift:"FollowerCount,4,optional" frugal:"4,optional,i64" json:"follower_count"` IsFollow bool `thrift:"IsFollow,5" frugal:"5,default,bool" json:"is_follow"` }
var UserResponse_User_DEFAULT *User
var Video_Author_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) IsSetFollowCount ¶
func (*User) IsSetFollowerCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
type UserLoginRequest ¶
type UserLoginRequest struct { Username string `thrift:"Username,1" frugal:"1,default,string" json:"username"` Password string `thrift:"Password,2" frugal:"2,default,string" json:"password"` }
var UserServiceUserLoginArgs_Req_DEFAULT *UserLoginRequest
func NewUserLoginRequest ¶
func NewUserLoginRequest() *UserLoginRequest
func (*UserLoginRequest) BLength ¶
func (p *UserLoginRequest) BLength() int
func (*UserLoginRequest) DeepEqual ¶
func (p *UserLoginRequest) DeepEqual(ano *UserLoginRequest) bool
func (*UserLoginRequest) FastReadField1 ¶
func (p *UserLoginRequest) FastReadField1(buf []byte) (int, error)
func (*UserLoginRequest) FastReadField2 ¶
func (p *UserLoginRequest) FastReadField2(buf []byte) (int, error)
func (*UserLoginRequest) FastWrite ¶
func (p *UserLoginRequest) FastWrite(buf []byte) int
for compatibility
func (*UserLoginRequest) FastWriteNocopy ¶
func (p *UserLoginRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserLoginRequest) Field1DeepEqual ¶
func (p *UserLoginRequest) Field1DeepEqual(src string) bool
func (*UserLoginRequest) Field2DeepEqual ¶
func (p *UserLoginRequest) Field2DeepEqual(src string) bool
func (*UserLoginRequest) GetPassword ¶
func (p *UserLoginRequest) GetPassword() (v string)
func (*UserLoginRequest) GetUsername ¶
func (p *UserLoginRequest) GetUsername() (v string)
func (*UserLoginRequest) InitDefault ¶
func (p *UserLoginRequest) InitDefault()
func (*UserLoginRequest) IsValid ¶
func (p *UserLoginRequest) IsValid() error
func (*UserLoginRequest) ReadField1 ¶
func (p *UserLoginRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserLoginRequest) ReadField2 ¶
func (p *UserLoginRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserLoginRequest) SetPassword ¶
func (p *UserLoginRequest) SetPassword(val string)
func (*UserLoginRequest) SetUsername ¶
func (p *UserLoginRequest) SetUsername(val string)
func (*UserLoginRequest) String ¶
func (p *UserLoginRequest) String() string
type UserLoginResponse ¶
type UserLoginResponse struct { StatusCode int32 `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` UserId int64 `thrift:"UserId,3" frugal:"3,default,i64" json:"user_id"` Token string `thrift:"Token,4" frugal:"4,default,string" json:"token"` }
var UserServiceUserLoginResult_Success_DEFAULT *UserLoginResponse
func NewUserLoginResponse ¶
func NewUserLoginResponse() *UserLoginResponse
func (*UserLoginResponse) BLength ¶
func (p *UserLoginResponse) BLength() int
func (*UserLoginResponse) DeepEqual ¶
func (p *UserLoginResponse) DeepEqual(ano *UserLoginResponse) bool
func (*UserLoginResponse) FastReadField1 ¶
func (p *UserLoginResponse) FastReadField1(buf []byte) (int, error)
func (*UserLoginResponse) FastReadField2 ¶
func (p *UserLoginResponse) FastReadField2(buf []byte) (int, error)
func (*UserLoginResponse) FastReadField3 ¶
func (p *UserLoginResponse) FastReadField3(buf []byte) (int, error)
func (*UserLoginResponse) FastReadField4 ¶
func (p *UserLoginResponse) FastReadField4(buf []byte) (int, error)
func (*UserLoginResponse) FastWrite ¶
func (p *UserLoginResponse) FastWrite(buf []byte) int
for compatibility
func (*UserLoginResponse) FastWriteNocopy ¶
func (p *UserLoginResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserLoginResponse) Field1DeepEqual ¶
func (p *UserLoginResponse) Field1DeepEqual(src int32) bool
func (*UserLoginResponse) Field2DeepEqual ¶
func (p *UserLoginResponse) Field2DeepEqual(src *string) bool
func (*UserLoginResponse) Field3DeepEqual ¶
func (p *UserLoginResponse) Field3DeepEqual(src int64) bool
func (*UserLoginResponse) Field4DeepEqual ¶
func (p *UserLoginResponse) Field4DeepEqual(src string) bool
func (*UserLoginResponse) GetStatusCode ¶
func (p *UserLoginResponse) GetStatusCode() (v int32)
func (*UserLoginResponse) GetStatusMsg ¶
func (p *UserLoginResponse) GetStatusMsg() (v string)
func (*UserLoginResponse) GetToken ¶
func (p *UserLoginResponse) GetToken() (v string)
func (*UserLoginResponse) GetUserId ¶
func (p *UserLoginResponse) GetUserId() (v int64)
func (*UserLoginResponse) InitDefault ¶
func (p *UserLoginResponse) InitDefault()
func (*UserLoginResponse) IsSetStatusMsg ¶
func (p *UserLoginResponse) IsSetStatusMsg() bool
func (*UserLoginResponse) Read ¶
func (p *UserLoginResponse) Read(iprot thrift.TProtocol) (err error)
func (*UserLoginResponse) ReadField1 ¶
func (p *UserLoginResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserLoginResponse) ReadField2 ¶
func (p *UserLoginResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserLoginResponse) ReadField3 ¶
func (p *UserLoginResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserLoginResponse) ReadField4 ¶
func (p *UserLoginResponse) ReadField4(iprot thrift.TProtocol) error
func (*UserLoginResponse) SetStatusCode ¶
func (p *UserLoginResponse) SetStatusCode(val int32)
func (*UserLoginResponse) SetStatusMsg ¶
func (p *UserLoginResponse) SetStatusMsg(val *string)
func (*UserLoginResponse) SetToken ¶
func (p *UserLoginResponse) SetToken(val string)
func (*UserLoginResponse) SetUserId ¶
func (p *UserLoginResponse) SetUserId(val int64)
func (*UserLoginResponse) String ¶
func (p *UserLoginResponse) String() string
type UserRegisterRequest ¶
type UserRegisterRequest struct { Username string `thrift:"Username,1" frugal:"1,default,string" json:"username"` Password string `thrift:"Password,2" frugal:"2,default,string" json:"password"` }
var UserServiceUserRegisterArgs_Req_DEFAULT *UserRegisterRequest
func NewUserRegisterRequest ¶
func NewUserRegisterRequest() *UserRegisterRequest
func (*UserRegisterRequest) BLength ¶
func (p *UserRegisterRequest) BLength() int
func (*UserRegisterRequest) DeepEqual ¶
func (p *UserRegisterRequest) DeepEqual(ano *UserRegisterRequest) bool
func (*UserRegisterRequest) FastRead ¶
func (p *UserRegisterRequest) FastRead(buf []byte) (int, error)
func (*UserRegisterRequest) FastReadField1 ¶
func (p *UserRegisterRequest) FastReadField1(buf []byte) (int, error)
func (*UserRegisterRequest) FastReadField2 ¶
func (p *UserRegisterRequest) FastReadField2(buf []byte) (int, error)
func (*UserRegisterRequest) FastWrite ¶
func (p *UserRegisterRequest) FastWrite(buf []byte) int
for compatibility
func (*UserRegisterRequest) FastWriteNocopy ¶
func (p *UserRegisterRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserRegisterRequest) Field1DeepEqual ¶
func (p *UserRegisterRequest) Field1DeepEqual(src string) bool
func (*UserRegisterRequest) Field2DeepEqual ¶
func (p *UserRegisterRequest) Field2DeepEqual(src string) bool
func (*UserRegisterRequest) GetPassword ¶
func (p *UserRegisterRequest) GetPassword() (v string)
func (*UserRegisterRequest) GetUsername ¶
func (p *UserRegisterRequest) GetUsername() (v string)
func (*UserRegisterRequest) InitDefault ¶
func (p *UserRegisterRequest) InitDefault()
func (*UserRegisterRequest) IsValid ¶
func (p *UserRegisterRequest) IsValid() error
func (*UserRegisterRequest) Read ¶
func (p *UserRegisterRequest) Read(iprot thrift.TProtocol) (err error)
func (*UserRegisterRequest) ReadField1 ¶
func (p *UserRegisterRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserRegisterRequest) ReadField2 ¶
func (p *UserRegisterRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserRegisterRequest) SetPassword ¶
func (p *UserRegisterRequest) SetPassword(val string)
func (*UserRegisterRequest) SetUsername ¶
func (p *UserRegisterRequest) SetUsername(val string)
func (*UserRegisterRequest) String ¶
func (p *UserRegisterRequest) String() string
type UserRegisterResponse ¶
type UserRegisterResponse struct { StatusCode int32 `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` UserId int64 `thrift:"UserId,3" frugal:"3,default,i64" json:"user_id"` Token string `thrift:"Token,4" frugal:"4,default,string" json:"token"` }
var UserServiceUserRegisterResult_Success_DEFAULT *UserRegisterResponse
func NewUserRegisterResponse ¶
func NewUserRegisterResponse() *UserRegisterResponse
func (*UserRegisterResponse) BLength ¶
func (p *UserRegisterResponse) BLength() int
func (*UserRegisterResponse) DeepEqual ¶
func (p *UserRegisterResponse) DeepEqual(ano *UserRegisterResponse) bool
func (*UserRegisterResponse) FastRead ¶
func (p *UserRegisterResponse) FastRead(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField1 ¶
func (p *UserRegisterResponse) FastReadField1(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField2 ¶
func (p *UserRegisterResponse) FastReadField2(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField3 ¶
func (p *UserRegisterResponse) FastReadField3(buf []byte) (int, error)
func (*UserRegisterResponse) FastReadField4 ¶
func (p *UserRegisterResponse) FastReadField4(buf []byte) (int, error)
func (*UserRegisterResponse) FastWrite ¶
func (p *UserRegisterResponse) FastWrite(buf []byte) int
for compatibility
func (*UserRegisterResponse) FastWriteNocopy ¶
func (p *UserRegisterResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserRegisterResponse) Field1DeepEqual ¶
func (p *UserRegisterResponse) Field1DeepEqual(src int32) bool
func (*UserRegisterResponse) Field2DeepEqual ¶
func (p *UserRegisterResponse) Field2DeepEqual(src *string) bool
func (*UserRegisterResponse) Field3DeepEqual ¶
func (p *UserRegisterResponse) Field3DeepEqual(src int64) bool
func (*UserRegisterResponse) Field4DeepEqual ¶
func (p *UserRegisterResponse) Field4DeepEqual(src string) bool
func (*UserRegisterResponse) GetStatusCode ¶
func (p *UserRegisterResponse) GetStatusCode() (v int32)
func (*UserRegisterResponse) GetStatusMsg ¶
func (p *UserRegisterResponse) GetStatusMsg() (v string)
func (*UserRegisterResponse) GetToken ¶
func (p *UserRegisterResponse) GetToken() (v string)
func (*UserRegisterResponse) GetUserId ¶
func (p *UserRegisterResponse) GetUserId() (v int64)
func (*UserRegisterResponse) InitDefault ¶
func (p *UserRegisterResponse) InitDefault()
func (*UserRegisterResponse) IsSetStatusMsg ¶
func (p *UserRegisterResponse) IsSetStatusMsg() bool
func (*UserRegisterResponse) Read ¶
func (p *UserRegisterResponse) Read(iprot thrift.TProtocol) (err error)
func (*UserRegisterResponse) ReadField1 ¶
func (p *UserRegisterResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserRegisterResponse) ReadField2 ¶
func (p *UserRegisterResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserRegisterResponse) ReadField3 ¶
func (p *UserRegisterResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserRegisterResponse) ReadField4 ¶
func (p *UserRegisterResponse) ReadField4(iprot thrift.TProtocol) error
func (*UserRegisterResponse) SetStatusCode ¶
func (p *UserRegisterResponse) SetStatusCode(val int32)
func (*UserRegisterResponse) SetStatusMsg ¶
func (p *UserRegisterResponse) SetStatusMsg(val *string)
func (*UserRegisterResponse) SetToken ¶
func (p *UserRegisterResponse) SetToken(val string)
func (*UserRegisterResponse) SetUserId ¶
func (p *UserRegisterResponse) SetUserId(val int64)
func (*UserRegisterResponse) String ¶
func (p *UserRegisterResponse) String() string
type UserRequest ¶
type UserRequest struct { UserId int64 `thrift:"UserId,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"Token,2" frugal:"2,default,string" json:"token"` }
var UserServiceUserInfoArgs_Req_DEFAULT *UserRequest
func NewUserRequest ¶
func NewUserRequest() *UserRequest
func (*UserRequest) BLength ¶
func (p *UserRequest) BLength() int
func (*UserRequest) DeepEqual ¶
func (p *UserRequest) DeepEqual(ano *UserRequest) bool
func (*UserRequest) FastReadField1 ¶
func (p *UserRequest) FastReadField1(buf []byte) (int, error)
func (*UserRequest) FastReadField2 ¶
func (p *UserRequest) FastReadField2(buf []byte) (int, error)
func (*UserRequest) FastWriteNocopy ¶
func (p *UserRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserRequest) Field1DeepEqual ¶
func (p *UserRequest) Field1DeepEqual(src int64) bool
func (*UserRequest) Field2DeepEqual ¶
func (p *UserRequest) Field2DeepEqual(src string) bool
func (*UserRequest) GetToken ¶
func (p *UserRequest) GetToken() (v string)
func (*UserRequest) GetUserId ¶
func (p *UserRequest) GetUserId() (v int64)
func (*UserRequest) InitDefault ¶
func (p *UserRequest) InitDefault()
func (*UserRequest) IsValid ¶
func (p *UserRequest) IsValid() error
func (*UserRequest) ReadField1 ¶
func (p *UserRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserRequest) ReadField2 ¶
func (p *UserRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserRequest) SetToken ¶
func (p *UserRequest) SetToken(val string)
func (*UserRequest) SetUserId ¶
func (p *UserRequest) SetUserId(val int64)
func (*UserRequest) String ¶
func (p *UserRequest) String() string
type UserResponse ¶
type UserResponse struct { StatusCode int32 `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` User *User `thrift:"User,3" frugal:"3,default,User" json:"user"` }
var UserServiceUserInfoResult_Success_DEFAULT *UserResponse
func NewUserResponse ¶
func NewUserResponse() *UserResponse
func (*UserResponse) BLength ¶
func (p *UserResponse) BLength() int
func (*UserResponse) DeepEqual ¶
func (p *UserResponse) DeepEqual(ano *UserResponse) bool
func (*UserResponse) FastReadField1 ¶
func (p *UserResponse) FastReadField1(buf []byte) (int, error)
func (*UserResponse) FastReadField2 ¶
func (p *UserResponse) FastReadField2(buf []byte) (int, error)
func (*UserResponse) FastReadField3 ¶
func (p *UserResponse) FastReadField3(buf []byte) (int, error)
func (*UserResponse) FastWriteNocopy ¶
func (p *UserResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserResponse) Field1DeepEqual ¶
func (p *UserResponse) Field1DeepEqual(src int32) bool
func (*UserResponse) Field2DeepEqual ¶
func (p *UserResponse) Field2DeepEqual(src *string) bool
func (*UserResponse) Field3DeepEqual ¶
func (p *UserResponse) Field3DeepEqual(src *User) bool
func (*UserResponse) GetStatusCode ¶
func (p *UserResponse) GetStatusCode() (v int32)
func (*UserResponse) GetStatusMsg ¶
func (p *UserResponse) GetStatusMsg() (v string)
func (*UserResponse) GetUser ¶
func (p *UserResponse) GetUser() (v *User)
func (*UserResponse) InitDefault ¶
func (p *UserResponse) InitDefault()
func (*UserResponse) IsSetStatusMsg ¶
func (p *UserResponse) IsSetStatusMsg() bool
func (*UserResponse) IsSetUser ¶
func (p *UserResponse) IsSetUser() bool
func (*UserResponse) ReadField1 ¶
func (p *UserResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserResponse) ReadField2 ¶
func (p *UserResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserResponse) ReadField3 ¶
func (p *UserResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserResponse) SetStatusCode ¶
func (p *UserResponse) SetStatusCode(val int32)
func (*UserResponse) SetStatusMsg ¶
func (p *UserResponse) SetStatusMsg(val *string)
func (*UserResponse) SetUser ¶
func (p *UserResponse) SetUser(val *User)
func (*UserResponse) String ¶
func (p *UserResponse) String() string
type UserService ¶
type UserService interface { UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error) UserGetFeed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error) UserInfo(ctx context.Context, req *UserRequest) (r *UserResponse, err error) UserPublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error) UserPublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error) UserTest(ctx context.Context, req *Testinfo) (r *Testinfo, err error) }
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
func NewUserServiceClient ¶
func NewUserServiceClient(c thrift.TClient) *UserServiceClient
func NewUserServiceClientFactory ¶
func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *UserServiceClient
func NewUserServiceClientProtocol ¶
func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserServiceClient
func (*UserServiceClient) Client_ ¶
func (p *UserServiceClient) Client_() thrift.TClient
func (*UserServiceClient) UserGetFeed ¶
func (p *UserServiceClient) UserGetFeed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
func (*UserServiceClient) UserInfo ¶
func (p *UserServiceClient) UserInfo(ctx context.Context, req *UserRequest) (r *UserResponse, err error)
func (*UserServiceClient) UserLogin ¶
func (p *UserServiceClient) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error)
func (*UserServiceClient) UserPublishAction ¶
func (p *UserServiceClient) UserPublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)
func (*UserServiceClient) UserPublishList ¶
func (p *UserServiceClient) UserPublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)
func (*UserServiceClient) UserRegister ¶
func (p *UserServiceClient) UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error)
type UserServiceProcessor ¶
type UserServiceProcessor struct {
// contains filtered or unexported fields
}
func NewUserServiceProcessor ¶
func NewUserServiceProcessor(handler UserService) *UserServiceProcessor
func (*UserServiceProcessor) AddToProcessorMap ¶
func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*UserServiceProcessor) GetProcessorFunction ¶
func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*UserServiceProcessor) Process ¶
func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*UserServiceProcessor) ProcessorMap ¶
func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type UserServiceUserGetFeedArgs ¶
type UserServiceUserGetFeedArgs struct {
Req *FeedRequest `thrift:"Req,1" frugal:"1,default,FeedRequest" json:"Req"`
}
func NewUserServiceUserGetFeedArgs ¶
func NewUserServiceUserGetFeedArgs() *UserServiceUserGetFeedArgs
func (*UserServiceUserGetFeedArgs) BLength ¶
func (p *UserServiceUserGetFeedArgs) BLength() int
func (*UserServiceUserGetFeedArgs) DeepEqual ¶
func (p *UserServiceUserGetFeedArgs) DeepEqual(ano *UserServiceUserGetFeedArgs) bool
func (*UserServiceUserGetFeedArgs) FastRead ¶
func (p *UserServiceUserGetFeedArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserGetFeedArgs) FastReadField1 ¶
func (p *UserServiceUserGetFeedArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserGetFeedArgs) FastWrite ¶
func (p *UserServiceUserGetFeedArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserGetFeedArgs) FastWriteNocopy ¶
func (p *UserServiceUserGetFeedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserGetFeedArgs) Field1DeepEqual ¶
func (p *UserServiceUserGetFeedArgs) Field1DeepEqual(src *FeedRequest) bool
func (*UserServiceUserGetFeedArgs) GetFirstArgument ¶
func (p *UserServiceUserGetFeedArgs) GetFirstArgument() interface{}
func (*UserServiceUserGetFeedArgs) GetReq ¶
func (p *UserServiceUserGetFeedArgs) GetReq() (v *FeedRequest)
func (*UserServiceUserGetFeedArgs) InitDefault ¶
func (p *UserServiceUserGetFeedArgs) InitDefault()
func (*UserServiceUserGetFeedArgs) IsSetReq ¶
func (p *UserServiceUserGetFeedArgs) IsSetReq() bool
func (*UserServiceUserGetFeedArgs) Read ¶
func (p *UserServiceUserGetFeedArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserGetFeedArgs) ReadField1 ¶
func (p *UserServiceUserGetFeedArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserGetFeedArgs) SetReq ¶
func (p *UserServiceUserGetFeedArgs) SetReq(val *FeedRequest)
func (*UserServiceUserGetFeedArgs) String ¶
func (p *UserServiceUserGetFeedArgs) String() string
type UserServiceUserGetFeedResult ¶
type UserServiceUserGetFeedResult struct {
Success *FeedResponse `thrift:"success,0,optional" frugal:"0,optional,FeedResponse" json:"success,omitempty"`
}
func NewUserServiceUserGetFeedResult ¶
func NewUserServiceUserGetFeedResult() *UserServiceUserGetFeedResult
func (*UserServiceUserGetFeedResult) BLength ¶
func (p *UserServiceUserGetFeedResult) BLength() int
func (*UserServiceUserGetFeedResult) DeepEqual ¶
func (p *UserServiceUserGetFeedResult) DeepEqual(ano *UserServiceUserGetFeedResult) bool
func (*UserServiceUserGetFeedResult) FastRead ¶
func (p *UserServiceUserGetFeedResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserGetFeedResult) FastReadField0 ¶
func (p *UserServiceUserGetFeedResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserGetFeedResult) FastWrite ¶
func (p *UserServiceUserGetFeedResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserGetFeedResult) FastWriteNocopy ¶
func (p *UserServiceUserGetFeedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserGetFeedResult) Field0DeepEqual ¶
func (p *UserServiceUserGetFeedResult) Field0DeepEqual(src *FeedResponse) bool
func (*UserServiceUserGetFeedResult) GetResult ¶
func (p *UserServiceUserGetFeedResult) GetResult() interface{}
func (*UserServiceUserGetFeedResult) GetSuccess ¶
func (p *UserServiceUserGetFeedResult) GetSuccess() (v *FeedResponse)
func (*UserServiceUserGetFeedResult) InitDefault ¶
func (p *UserServiceUserGetFeedResult) InitDefault()
func (*UserServiceUserGetFeedResult) IsSetSuccess ¶
func (p *UserServiceUserGetFeedResult) IsSetSuccess() bool
func (*UserServiceUserGetFeedResult) Read ¶
func (p *UserServiceUserGetFeedResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserGetFeedResult) ReadField0 ¶
func (p *UserServiceUserGetFeedResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserGetFeedResult) SetSuccess ¶
func (p *UserServiceUserGetFeedResult) SetSuccess(x interface{})
func (*UserServiceUserGetFeedResult) String ¶
func (p *UserServiceUserGetFeedResult) String() string
type UserServiceUserInfoArgs ¶
type UserServiceUserInfoArgs struct {
Req *UserRequest `thrift:"Req,1" frugal:"1,default,UserRequest" json:"Req"`
}
func NewUserServiceUserInfoArgs ¶
func NewUserServiceUserInfoArgs() *UserServiceUserInfoArgs
func (*UserServiceUserInfoArgs) BLength ¶
func (p *UserServiceUserInfoArgs) BLength() int
func (*UserServiceUserInfoArgs) DeepEqual ¶
func (p *UserServiceUserInfoArgs) DeepEqual(ano *UserServiceUserInfoArgs) bool
func (*UserServiceUserInfoArgs) FastRead ¶
func (p *UserServiceUserInfoArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserInfoArgs) FastReadField1 ¶
func (p *UserServiceUserInfoArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserInfoArgs) FastWrite ¶
func (p *UserServiceUserInfoArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserInfoArgs) FastWriteNocopy ¶
func (p *UserServiceUserInfoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserInfoArgs) Field1DeepEqual ¶
func (p *UserServiceUserInfoArgs) Field1DeepEqual(src *UserRequest) bool
func (*UserServiceUserInfoArgs) GetFirstArgument ¶
func (p *UserServiceUserInfoArgs) GetFirstArgument() interface{}
func (*UserServiceUserInfoArgs) GetReq ¶
func (p *UserServiceUserInfoArgs) GetReq() (v *UserRequest)
func (*UserServiceUserInfoArgs) InitDefault ¶
func (p *UserServiceUserInfoArgs) InitDefault()
func (*UserServiceUserInfoArgs) IsSetReq ¶
func (p *UserServiceUserInfoArgs) IsSetReq() bool
func (*UserServiceUserInfoArgs) Read ¶
func (p *UserServiceUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserInfoArgs) ReadField1 ¶
func (p *UserServiceUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserInfoArgs) SetReq ¶
func (p *UserServiceUserInfoArgs) SetReq(val *UserRequest)
func (*UserServiceUserInfoArgs) String ¶
func (p *UserServiceUserInfoArgs) String() string
type UserServiceUserInfoResult ¶
type UserServiceUserInfoResult struct {
Success *UserResponse `thrift:"success,0,optional" frugal:"0,optional,UserResponse" json:"success,omitempty"`
}
func NewUserServiceUserInfoResult ¶
func NewUserServiceUserInfoResult() *UserServiceUserInfoResult
func (*UserServiceUserInfoResult) BLength ¶
func (p *UserServiceUserInfoResult) BLength() int
func (*UserServiceUserInfoResult) DeepEqual ¶
func (p *UserServiceUserInfoResult) DeepEqual(ano *UserServiceUserInfoResult) bool
func (*UserServiceUserInfoResult) FastRead ¶
func (p *UserServiceUserInfoResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserInfoResult) FastReadField0 ¶
func (p *UserServiceUserInfoResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserInfoResult) FastWrite ¶
func (p *UserServiceUserInfoResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserInfoResult) FastWriteNocopy ¶
func (p *UserServiceUserInfoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserInfoResult) Field0DeepEqual ¶
func (p *UserServiceUserInfoResult) Field0DeepEqual(src *UserResponse) bool
func (*UserServiceUserInfoResult) GetResult ¶
func (p *UserServiceUserInfoResult) GetResult() interface{}
func (*UserServiceUserInfoResult) GetSuccess ¶
func (p *UserServiceUserInfoResult) GetSuccess() (v *UserResponse)
func (*UserServiceUserInfoResult) InitDefault ¶
func (p *UserServiceUserInfoResult) InitDefault()
func (*UserServiceUserInfoResult) IsSetSuccess ¶
func (p *UserServiceUserInfoResult) IsSetSuccess() bool
func (*UserServiceUserInfoResult) Read ¶
func (p *UserServiceUserInfoResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserInfoResult) ReadField0 ¶
func (p *UserServiceUserInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserInfoResult) SetSuccess ¶
func (p *UserServiceUserInfoResult) SetSuccess(x interface{})
func (*UserServiceUserInfoResult) String ¶
func (p *UserServiceUserInfoResult) String() string
type UserServiceUserLoginArgs ¶
type UserServiceUserLoginArgs struct {
Req *UserLoginRequest `thrift:"Req,1" frugal:"1,default,UserLoginRequest" json:"Req"`
}
func NewUserServiceUserLoginArgs ¶
func NewUserServiceUserLoginArgs() *UserServiceUserLoginArgs
func (*UserServiceUserLoginArgs) BLength ¶
func (p *UserServiceUserLoginArgs) BLength() int
func (*UserServiceUserLoginArgs) DeepEqual ¶
func (p *UserServiceUserLoginArgs) DeepEqual(ano *UserServiceUserLoginArgs) bool
func (*UserServiceUserLoginArgs) FastRead ¶
func (p *UserServiceUserLoginArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserLoginArgs) FastReadField1 ¶
func (p *UserServiceUserLoginArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserLoginArgs) FastWrite ¶
func (p *UserServiceUserLoginArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserLoginArgs) FastWriteNocopy ¶
func (p *UserServiceUserLoginArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserLoginArgs) Field1DeepEqual ¶
func (p *UserServiceUserLoginArgs) Field1DeepEqual(src *UserLoginRequest) bool
func (*UserServiceUserLoginArgs) GetFirstArgument ¶
func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}
func (*UserServiceUserLoginArgs) GetReq ¶
func (p *UserServiceUserLoginArgs) GetReq() (v *UserLoginRequest)
func (*UserServiceUserLoginArgs) InitDefault ¶
func (p *UserServiceUserLoginArgs) InitDefault()
func (*UserServiceUserLoginArgs) IsSetReq ¶
func (p *UserServiceUserLoginArgs) IsSetReq() bool
func (*UserServiceUserLoginArgs) Read ¶
func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserLoginArgs) ReadField1 ¶
func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserLoginArgs) SetReq ¶
func (p *UserServiceUserLoginArgs) SetReq(val *UserLoginRequest)
func (*UserServiceUserLoginArgs) String ¶
func (p *UserServiceUserLoginArgs) String() string
type UserServiceUserLoginResult ¶
type UserServiceUserLoginResult struct {
Success *UserLoginResponse `thrift:"success,0,optional" frugal:"0,optional,UserLoginResponse" json:"success,omitempty"`
}
func NewUserServiceUserLoginResult ¶
func NewUserServiceUserLoginResult() *UserServiceUserLoginResult
func (*UserServiceUserLoginResult) BLength ¶
func (p *UserServiceUserLoginResult) BLength() int
func (*UserServiceUserLoginResult) DeepEqual ¶
func (p *UserServiceUserLoginResult) DeepEqual(ano *UserServiceUserLoginResult) bool
func (*UserServiceUserLoginResult) FastRead ¶
func (p *UserServiceUserLoginResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserLoginResult) FastReadField0 ¶
func (p *UserServiceUserLoginResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserLoginResult) FastWrite ¶
func (p *UserServiceUserLoginResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserLoginResult) FastWriteNocopy ¶
func (p *UserServiceUserLoginResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserLoginResult) Field0DeepEqual ¶
func (p *UserServiceUserLoginResult) Field0DeepEqual(src *UserLoginResponse) bool
func (*UserServiceUserLoginResult) GetResult ¶
func (p *UserServiceUserLoginResult) GetResult() interface{}
func (*UserServiceUserLoginResult) GetSuccess ¶
func (p *UserServiceUserLoginResult) GetSuccess() (v *UserLoginResponse)
func (*UserServiceUserLoginResult) InitDefault ¶
func (p *UserServiceUserLoginResult) InitDefault()
func (*UserServiceUserLoginResult) IsSetSuccess ¶
func (p *UserServiceUserLoginResult) IsSetSuccess() bool
func (*UserServiceUserLoginResult) Read ¶
func (p *UserServiceUserLoginResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserLoginResult) ReadField0 ¶
func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserLoginResult) SetSuccess ¶
func (p *UserServiceUserLoginResult) SetSuccess(x interface{})
func (*UserServiceUserLoginResult) String ¶
func (p *UserServiceUserLoginResult) String() string
type UserServiceUserPublishActionArgs ¶
type UserServiceUserPublishActionArgs struct {
Req *PublishActionRequest `thrift:"Req,1" frugal:"1,default,PublishActionRequest" json:"Req"`
}
func NewUserServiceUserPublishActionArgs ¶
func NewUserServiceUserPublishActionArgs() *UserServiceUserPublishActionArgs
func (*UserServiceUserPublishActionArgs) BLength ¶
func (p *UserServiceUserPublishActionArgs) BLength() int
func (*UserServiceUserPublishActionArgs) DeepEqual ¶
func (p *UserServiceUserPublishActionArgs) DeepEqual(ano *UserServiceUserPublishActionArgs) bool
func (*UserServiceUserPublishActionArgs) FastRead ¶
func (p *UserServiceUserPublishActionArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserPublishActionArgs) FastReadField1 ¶
func (p *UserServiceUserPublishActionArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserPublishActionArgs) FastWrite ¶
func (p *UserServiceUserPublishActionArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserPublishActionArgs) FastWriteNocopy ¶
func (p *UserServiceUserPublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserPublishActionArgs) Field1DeepEqual ¶
func (p *UserServiceUserPublishActionArgs) Field1DeepEqual(src *PublishActionRequest) bool
func (*UserServiceUserPublishActionArgs) GetFirstArgument ¶
func (p *UserServiceUserPublishActionArgs) GetFirstArgument() interface{}
func (*UserServiceUserPublishActionArgs) GetReq ¶
func (p *UserServiceUserPublishActionArgs) GetReq() (v *PublishActionRequest)
func (*UserServiceUserPublishActionArgs) InitDefault ¶
func (p *UserServiceUserPublishActionArgs) InitDefault()
func (*UserServiceUserPublishActionArgs) IsSetReq ¶
func (p *UserServiceUserPublishActionArgs) IsSetReq() bool
func (*UserServiceUserPublishActionArgs) Read ¶
func (p *UserServiceUserPublishActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserPublishActionArgs) ReadField1 ¶
func (p *UserServiceUserPublishActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserPublishActionArgs) SetReq ¶
func (p *UserServiceUserPublishActionArgs) SetReq(val *PublishActionRequest)
func (*UserServiceUserPublishActionArgs) String ¶
func (p *UserServiceUserPublishActionArgs) String() string
type UserServiceUserPublishActionResult ¶
type UserServiceUserPublishActionResult struct {
Success *PublishActionResponse `thrift:"success,0,optional" frugal:"0,optional,PublishActionResponse" json:"success,omitempty"`
}
func NewUserServiceUserPublishActionResult ¶
func NewUserServiceUserPublishActionResult() *UserServiceUserPublishActionResult
func (*UserServiceUserPublishActionResult) BLength ¶
func (p *UserServiceUserPublishActionResult) BLength() int
func (*UserServiceUserPublishActionResult) DeepEqual ¶
func (p *UserServiceUserPublishActionResult) DeepEqual(ano *UserServiceUserPublishActionResult) bool
func (*UserServiceUserPublishActionResult) FastRead ¶
func (p *UserServiceUserPublishActionResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserPublishActionResult) FastReadField0 ¶
func (p *UserServiceUserPublishActionResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserPublishActionResult) FastWrite ¶
func (p *UserServiceUserPublishActionResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserPublishActionResult) FastWriteNocopy ¶
func (p *UserServiceUserPublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserPublishActionResult) Field0DeepEqual ¶
func (p *UserServiceUserPublishActionResult) Field0DeepEqual(src *PublishActionResponse) bool
func (*UserServiceUserPublishActionResult) GetResult ¶
func (p *UserServiceUserPublishActionResult) GetResult() interface{}
func (*UserServiceUserPublishActionResult) GetSuccess ¶
func (p *UserServiceUserPublishActionResult) GetSuccess() (v *PublishActionResponse)
func (*UserServiceUserPublishActionResult) InitDefault ¶
func (p *UserServiceUserPublishActionResult) InitDefault()
func (*UserServiceUserPublishActionResult) IsSetSuccess ¶
func (p *UserServiceUserPublishActionResult) IsSetSuccess() bool
func (*UserServiceUserPublishActionResult) Read ¶
func (p *UserServiceUserPublishActionResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserPublishActionResult) ReadField0 ¶
func (p *UserServiceUserPublishActionResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserPublishActionResult) SetSuccess ¶
func (p *UserServiceUserPublishActionResult) SetSuccess(x interface{})
func (*UserServiceUserPublishActionResult) String ¶
func (p *UserServiceUserPublishActionResult) String() string
type UserServiceUserPublishListArgs ¶
type UserServiceUserPublishListArgs struct {
Req *PublishListRequest `thrift:"Req,1" frugal:"1,default,PublishListRequest" json:"Req"`
}
func NewUserServiceUserPublishListArgs ¶
func NewUserServiceUserPublishListArgs() *UserServiceUserPublishListArgs
func (*UserServiceUserPublishListArgs) BLength ¶
func (p *UserServiceUserPublishListArgs) BLength() int
func (*UserServiceUserPublishListArgs) DeepEqual ¶
func (p *UserServiceUserPublishListArgs) DeepEqual(ano *UserServiceUserPublishListArgs) bool
func (*UserServiceUserPublishListArgs) FastRead ¶
func (p *UserServiceUserPublishListArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserPublishListArgs) FastReadField1 ¶
func (p *UserServiceUserPublishListArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserPublishListArgs) FastWrite ¶
func (p *UserServiceUserPublishListArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserPublishListArgs) FastWriteNocopy ¶
func (p *UserServiceUserPublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserPublishListArgs) Field1DeepEqual ¶
func (p *UserServiceUserPublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
func (*UserServiceUserPublishListArgs) GetFirstArgument ¶
func (p *UserServiceUserPublishListArgs) GetFirstArgument() interface{}
func (*UserServiceUserPublishListArgs) GetReq ¶
func (p *UserServiceUserPublishListArgs) GetReq() (v *PublishListRequest)
func (*UserServiceUserPublishListArgs) InitDefault ¶
func (p *UserServiceUserPublishListArgs) InitDefault()
func (*UserServiceUserPublishListArgs) IsSetReq ¶
func (p *UserServiceUserPublishListArgs) IsSetReq() bool
func (*UserServiceUserPublishListArgs) Read ¶
func (p *UserServiceUserPublishListArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserPublishListArgs) ReadField1 ¶
func (p *UserServiceUserPublishListArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserPublishListArgs) SetReq ¶
func (p *UserServiceUserPublishListArgs) SetReq(val *PublishListRequest)
func (*UserServiceUserPublishListArgs) String ¶
func (p *UserServiceUserPublishListArgs) String() string
type UserServiceUserPublishListResult ¶
type UserServiceUserPublishListResult struct {
Success *PublishListResponse `thrift:"success,0,optional" frugal:"0,optional,PublishListResponse" json:"success,omitempty"`
}
func NewUserServiceUserPublishListResult ¶
func NewUserServiceUserPublishListResult() *UserServiceUserPublishListResult
func (*UserServiceUserPublishListResult) BLength ¶
func (p *UserServiceUserPublishListResult) BLength() int
func (*UserServiceUserPublishListResult) DeepEqual ¶
func (p *UserServiceUserPublishListResult) DeepEqual(ano *UserServiceUserPublishListResult) bool
func (*UserServiceUserPublishListResult) FastRead ¶
func (p *UserServiceUserPublishListResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserPublishListResult) FastReadField0 ¶
func (p *UserServiceUserPublishListResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserPublishListResult) FastWrite ¶
func (p *UserServiceUserPublishListResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserPublishListResult) FastWriteNocopy ¶
func (p *UserServiceUserPublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserPublishListResult) Field0DeepEqual ¶
func (p *UserServiceUserPublishListResult) Field0DeepEqual(src *PublishListResponse) bool
func (*UserServiceUserPublishListResult) GetResult ¶
func (p *UserServiceUserPublishListResult) GetResult() interface{}
func (*UserServiceUserPublishListResult) GetSuccess ¶
func (p *UserServiceUserPublishListResult) GetSuccess() (v *PublishListResponse)
func (*UserServiceUserPublishListResult) InitDefault ¶
func (p *UserServiceUserPublishListResult) InitDefault()
func (*UserServiceUserPublishListResult) IsSetSuccess ¶
func (p *UserServiceUserPublishListResult) IsSetSuccess() bool
func (*UserServiceUserPublishListResult) Read ¶
func (p *UserServiceUserPublishListResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserPublishListResult) ReadField0 ¶
func (p *UserServiceUserPublishListResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserPublishListResult) SetSuccess ¶
func (p *UserServiceUserPublishListResult) SetSuccess(x interface{})
func (*UserServiceUserPublishListResult) String ¶
func (p *UserServiceUserPublishListResult) String() string
type UserServiceUserRegisterArgs ¶
type UserServiceUserRegisterArgs struct {
Req *UserRegisterRequest `thrift:"Req,1" frugal:"1,default,UserRegisterRequest" json:"Req"`
}
func NewUserServiceUserRegisterArgs ¶
func NewUserServiceUserRegisterArgs() *UserServiceUserRegisterArgs
func (*UserServiceUserRegisterArgs) BLength ¶
func (p *UserServiceUserRegisterArgs) BLength() int
func (*UserServiceUserRegisterArgs) DeepEqual ¶
func (p *UserServiceUserRegisterArgs) DeepEqual(ano *UserServiceUserRegisterArgs) bool
func (*UserServiceUserRegisterArgs) FastRead ¶
func (p *UserServiceUserRegisterArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserRegisterArgs) FastReadField1 ¶
func (p *UserServiceUserRegisterArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserRegisterArgs) FastWrite ¶
func (p *UserServiceUserRegisterArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserRegisterArgs) FastWriteNocopy ¶
func (p *UserServiceUserRegisterArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserRegisterArgs) Field1DeepEqual ¶
func (p *UserServiceUserRegisterArgs) Field1DeepEqual(src *UserRegisterRequest) bool
func (*UserServiceUserRegisterArgs) GetFirstArgument ¶
func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}
func (*UserServiceUserRegisterArgs) GetReq ¶
func (p *UserServiceUserRegisterArgs) GetReq() (v *UserRegisterRequest)
func (*UserServiceUserRegisterArgs) InitDefault ¶
func (p *UserServiceUserRegisterArgs) InitDefault()
func (*UserServiceUserRegisterArgs) IsSetReq ¶
func (p *UserServiceUserRegisterArgs) IsSetReq() bool
func (*UserServiceUserRegisterArgs) Read ¶
func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserRegisterArgs) ReadField1 ¶
func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserRegisterArgs) SetReq ¶
func (p *UserServiceUserRegisterArgs) SetReq(val *UserRegisterRequest)
func (*UserServiceUserRegisterArgs) String ¶
func (p *UserServiceUserRegisterArgs) String() string
type UserServiceUserRegisterResult ¶
type UserServiceUserRegisterResult struct {
Success *UserRegisterResponse `thrift:"success,0,optional" frugal:"0,optional,UserRegisterResponse" json:"success,omitempty"`
}
func NewUserServiceUserRegisterResult ¶
func NewUserServiceUserRegisterResult() *UserServiceUserRegisterResult
func (*UserServiceUserRegisterResult) BLength ¶
func (p *UserServiceUserRegisterResult) BLength() int
func (*UserServiceUserRegisterResult) DeepEqual ¶
func (p *UserServiceUserRegisterResult) DeepEqual(ano *UserServiceUserRegisterResult) bool
func (*UserServiceUserRegisterResult) FastRead ¶
func (p *UserServiceUserRegisterResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserRegisterResult) FastReadField0 ¶
func (p *UserServiceUserRegisterResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserRegisterResult) FastWrite ¶
func (p *UserServiceUserRegisterResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserRegisterResult) FastWriteNocopy ¶
func (p *UserServiceUserRegisterResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserRegisterResult) Field0DeepEqual ¶
func (p *UserServiceUserRegisterResult) Field0DeepEqual(src *UserRegisterResponse) bool
func (*UserServiceUserRegisterResult) GetResult ¶
func (p *UserServiceUserRegisterResult) GetResult() interface{}
func (*UserServiceUserRegisterResult) GetSuccess ¶
func (p *UserServiceUserRegisterResult) GetSuccess() (v *UserRegisterResponse)
func (*UserServiceUserRegisterResult) InitDefault ¶
func (p *UserServiceUserRegisterResult) InitDefault()
func (*UserServiceUserRegisterResult) IsSetSuccess ¶
func (p *UserServiceUserRegisterResult) IsSetSuccess() bool
func (*UserServiceUserRegisterResult) Read ¶
func (p *UserServiceUserRegisterResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserRegisterResult) ReadField0 ¶
func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserRegisterResult) SetSuccess ¶
func (p *UserServiceUserRegisterResult) SetSuccess(x interface{})
func (*UserServiceUserRegisterResult) String ¶
func (p *UserServiceUserRegisterResult) String() string
type UserServiceUserTestArgs ¶
type UserServiceUserTestArgs struct {
Req *Testinfo `thrift:"Req,1" frugal:"1,default,Testinfo" json:"Req"`
}
func NewUserServiceUserTestArgs ¶
func NewUserServiceUserTestArgs() *UserServiceUserTestArgs
func (*UserServiceUserTestArgs) BLength ¶
func (p *UserServiceUserTestArgs) BLength() int
func (*UserServiceUserTestArgs) DeepEqual ¶
func (p *UserServiceUserTestArgs) DeepEqual(ano *UserServiceUserTestArgs) bool
func (*UserServiceUserTestArgs) FastRead ¶
func (p *UserServiceUserTestArgs) FastRead(buf []byte) (int, error)
func (*UserServiceUserTestArgs) FastReadField1 ¶
func (p *UserServiceUserTestArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceUserTestArgs) FastWrite ¶
func (p *UserServiceUserTestArgs) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserTestArgs) FastWriteNocopy ¶
func (p *UserServiceUserTestArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserTestArgs) Field1DeepEqual ¶
func (p *UserServiceUserTestArgs) Field1DeepEqual(src *Testinfo) bool
func (*UserServiceUserTestArgs) GetFirstArgument ¶
func (p *UserServiceUserTestArgs) GetFirstArgument() interface{}
func (*UserServiceUserTestArgs) GetReq ¶
func (p *UserServiceUserTestArgs) GetReq() (v *Testinfo)
func (*UserServiceUserTestArgs) InitDefault ¶
func (p *UserServiceUserTestArgs) InitDefault()
func (*UserServiceUserTestArgs) IsSetReq ¶
func (p *UserServiceUserTestArgs) IsSetReq() bool
func (*UserServiceUserTestArgs) Read ¶
func (p *UserServiceUserTestArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserTestArgs) ReadField1 ¶
func (p *UserServiceUserTestArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserTestArgs) SetReq ¶
func (p *UserServiceUserTestArgs) SetReq(val *Testinfo)
func (*UserServiceUserTestArgs) String ¶
func (p *UserServiceUserTestArgs) String() string
type UserServiceUserTestResult ¶
type UserServiceUserTestResult struct {
Success *Testinfo `thrift:"success,0,optional" frugal:"0,optional,Testinfo" json:"success,omitempty"`
}
func NewUserServiceUserTestResult ¶
func NewUserServiceUserTestResult() *UserServiceUserTestResult
func (*UserServiceUserTestResult) BLength ¶
func (p *UserServiceUserTestResult) BLength() int
func (*UserServiceUserTestResult) DeepEqual ¶
func (p *UserServiceUserTestResult) DeepEqual(ano *UserServiceUserTestResult) bool
func (*UserServiceUserTestResult) FastRead ¶
func (p *UserServiceUserTestResult) FastRead(buf []byte) (int, error)
func (*UserServiceUserTestResult) FastReadField0 ¶
func (p *UserServiceUserTestResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceUserTestResult) FastWrite ¶
func (p *UserServiceUserTestResult) FastWrite(buf []byte) int
for compatibility
func (*UserServiceUserTestResult) FastWriteNocopy ¶
func (p *UserServiceUserTestResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserServiceUserTestResult) Field0DeepEqual ¶
func (p *UserServiceUserTestResult) Field0DeepEqual(src *Testinfo) bool
func (*UserServiceUserTestResult) GetResult ¶
func (p *UserServiceUserTestResult) GetResult() interface{}
func (*UserServiceUserTestResult) GetSuccess ¶
func (p *UserServiceUserTestResult) GetSuccess() (v *Testinfo)
func (*UserServiceUserTestResult) InitDefault ¶
func (p *UserServiceUserTestResult) InitDefault()
func (*UserServiceUserTestResult) IsSetSuccess ¶
func (p *UserServiceUserTestResult) IsSetSuccess() bool
func (*UserServiceUserTestResult) Read ¶
func (p *UserServiceUserTestResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserTestResult) ReadField0 ¶
func (p *UserServiceUserTestResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserTestResult) SetSuccess ¶
func (p *UserServiceUserTestResult) SetSuccess(x interface{})
func (*UserServiceUserTestResult) String ¶
func (p *UserServiceUserTestResult) String() string
type Video ¶
type Video struct { Id int64 `thrift:"Id,1" frugal:"1,default,i64" json:"id"` Author *User `thrift:"Author,2" frugal:"2,default,User" json:"author"` PlayPath string `thrift:"PlayPath,3" frugal:"3,default,string" json:"play_url"` CoverPath string `thrift:"CoverPath,4" frugal:"4,default,string" json:"cover_url"` FavoriteCount int64 `thrift:"FavoriteCount,5" frugal:"5,default,i64" json:"favorite_count"` CommentCount int64 `thrift:"CommentCount,6" frugal:"6,default,i64" json:"comment_count"` IsFavorite bool `thrift:"IsFavorite,7" frugal:"7,default,bool" json:"is_favorite"` Title string `thrift:"Title,8" frugal:"8,default,string" json:"title"` }
func (*Video) FastWriteNocopy ¶
func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Video) Field1DeepEqual ¶
func (*Video) Field2DeepEqual ¶
func (*Video) Field3DeepEqual ¶
func (*Video) Field4DeepEqual ¶
func (*Video) Field5DeepEqual ¶
func (*Video) Field6DeepEqual ¶
func (*Video) Field7DeepEqual ¶
func (*Video) Field8DeepEqual ¶
func (*Video) GetCommentCount ¶
func (*Video) GetCoverPath ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayPath ¶
func (*Video) InitDefault ¶
func (p *Video) InitDefault()
func (*Video) IsSetAuthor ¶
func (*Video) SetCommentCount ¶
func (*Video) SetCoverPath ¶
func (*Video) SetFavoriteCount ¶
func (*Video) SetIsFavorite ¶
func (*Video) SetPlayPath ¶
Click to show internal directories.
Click to hide internal directories.