Documentation ¶
Index ¶
- Variables
- type AuthService
- type AuthServiceClient
- type AuthServiceProcessor
- func (p *AuthServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AuthServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AuthServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AuthServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type AuthServiceUserCheckAuthArgs
- func (p *AuthServiceUserCheckAuthArgs) BLength() int
- func (p *AuthServiceUserCheckAuthArgs) DeepEqual(ano *AuthServiceUserCheckAuthArgs) bool
- func (p *AuthServiceUserCheckAuthArgs) FastRead(buf []byte) (int, error)
- func (p *AuthServiceUserCheckAuthArgs) FastReadField1(buf []byte) (int, error)
- func (p *AuthServiceUserCheckAuthArgs) FastWrite(buf []byte) int
- func (p *AuthServiceUserCheckAuthArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceUserCheckAuthArgs) Field1DeepEqual(src *UserCheckAuthReq) bool
- func (p *AuthServiceUserCheckAuthArgs) GetFirstArgument() interface{}
- func (p *AuthServiceUserCheckAuthArgs) GetReq() (v *UserCheckAuthReq)
- func (p *AuthServiceUserCheckAuthArgs) InitDefault()
- func (p *AuthServiceUserCheckAuthArgs) IsSetReq() bool
- func (p *AuthServiceUserCheckAuthArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceUserCheckAuthArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *AuthServiceUserCheckAuthArgs) SetReq(val *UserCheckAuthReq)
- func (p *AuthServiceUserCheckAuthArgs) String() string
- func (p *AuthServiceUserCheckAuthArgs) Write(oprot thrift.TProtocol) (err error)
- type AuthServiceUserCheckAuthResult
- func (p *AuthServiceUserCheckAuthResult) BLength() int
- func (p *AuthServiceUserCheckAuthResult) DeepEqual(ano *AuthServiceUserCheckAuthResult) bool
- func (p *AuthServiceUserCheckAuthResult) FastRead(buf []byte) (int, error)
- func (p *AuthServiceUserCheckAuthResult) FastReadField0(buf []byte) (int, error)
- func (p *AuthServiceUserCheckAuthResult) FastWrite(buf []byte) int
- func (p *AuthServiceUserCheckAuthResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *AuthServiceUserCheckAuthResult) Field0DeepEqual(src *UserCheckAuthResp) bool
- func (p *AuthServiceUserCheckAuthResult) GetResult() interface{}
- func (p *AuthServiceUserCheckAuthResult) GetSuccess() (v *UserCheckAuthResp)
- func (p *AuthServiceUserCheckAuthResult) InitDefault()
- func (p *AuthServiceUserCheckAuthResult) IsSetSuccess() bool
- func (p *AuthServiceUserCheckAuthResult) Read(iprot thrift.TProtocol) (err error)
- func (p *AuthServiceUserCheckAuthResult) ReadField0(iprot thrift.TProtocol) error
- func (p *AuthServiceUserCheckAuthResult) SetSuccess(x interface{})
- func (p *AuthServiceUserCheckAuthResult) String() string
- func (p *AuthServiceUserCheckAuthResult) Write(oprot thrift.TProtocol) (err error)
- type UserCheckAuthReq
- func (p *UserCheckAuthReq) BLength() int
- func (p *UserCheckAuthReq) DeepEqual(ano *UserCheckAuthReq) bool
- func (p *UserCheckAuthReq) FastRead(buf []byte) (int, error)
- func (p *UserCheckAuthReq) FastReadField1(buf []byte) (int, error)
- func (p *UserCheckAuthReq) FastWrite(buf []byte) int
- func (p *UserCheckAuthReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserCheckAuthReq) Field1DeepEqual(src string) bool
- func (p *UserCheckAuthReq) GetToken() (v string)
- func (p *UserCheckAuthReq) InitDefault()
- func (p *UserCheckAuthReq) Read(iprot thrift.TProtocol) (err error)
- func (p *UserCheckAuthReq) ReadField1(iprot thrift.TProtocol) error
- func (p *UserCheckAuthReq) SetToken(val string)
- func (p *UserCheckAuthReq) String() string
- func (p *UserCheckAuthReq) Write(oprot thrift.TProtocol) (err error)
- type UserCheckAuthResp
- func (p *UserCheckAuthResp) BLength() int
- func (p *UserCheckAuthResp) DeepEqual(ano *UserCheckAuthResp) bool
- func (p *UserCheckAuthResp) FastRead(buf []byte) (int, error)
- func (p *UserCheckAuthResp) FastReadField1(buf []byte) (int, error)
- func (p *UserCheckAuthResp) FastReadField2(buf []byte) (int, error)
- func (p *UserCheckAuthResp) FastWrite(buf []byte) int
- func (p *UserCheckAuthResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserCheckAuthResp) Field1DeepEqual(src *base.BaseResponse) bool
- func (p *UserCheckAuthResp) Field2DeepEqual(src string) bool
- func (p *UserCheckAuthResp) GetBaseResp() (v *base.BaseResponse)
- func (p *UserCheckAuthResp) GetUuid() (v string)
- func (p *UserCheckAuthResp) InitDefault()
- func (p *UserCheckAuthResp) IsSetBaseResp() bool
- func (p *UserCheckAuthResp) Read(iprot thrift.TProtocol) (err error)
- func (p *UserCheckAuthResp) ReadField1(iprot thrift.TProtocol) error
- func (p *UserCheckAuthResp) ReadField2(iprot thrift.TProtocol) error
- func (p *UserCheckAuthResp) SetBaseResp(val *base.BaseResponse)
- func (p *UserCheckAuthResp) SetUuid(val string)
- func (p *UserCheckAuthResp) String() string
- func (p *UserCheckAuthResp) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var UserCheckAuthResp_BaseResp_DEFAULT *base.BaseResponse
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface {
UserCheckAuth(ctx context.Context, req *UserCheckAuthReq) (r *UserCheckAuthResp, err error)
}
type AuthServiceClient ¶
type AuthServiceClient struct {
// contains filtered or unexported fields
}
func NewAuthServiceClient ¶
func NewAuthServiceClient(c thrift.TClient) *AuthServiceClient
func NewAuthServiceClientFactory ¶
func NewAuthServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AuthServiceClient
func NewAuthServiceClientProtocol ¶
func NewAuthServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AuthServiceClient
func (*AuthServiceClient) Client_ ¶
func (p *AuthServiceClient) Client_() thrift.TClient
func (*AuthServiceClient) UserCheckAuth ¶
func (p *AuthServiceClient) UserCheckAuth(ctx context.Context, req *UserCheckAuthReq) (r *UserCheckAuthResp, err error)
type AuthServiceProcessor ¶
type AuthServiceProcessor struct {
// contains filtered or unexported fields
}
func NewAuthServiceProcessor ¶
func NewAuthServiceProcessor(handler AuthService) *AuthServiceProcessor
func (*AuthServiceProcessor) AddToProcessorMap ¶
func (p *AuthServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AuthServiceProcessor) GetProcessorFunction ¶
func (p *AuthServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AuthServiceProcessor) Process ¶
func (p *AuthServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AuthServiceProcessor) ProcessorMap ¶
func (p *AuthServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type AuthServiceUserCheckAuthArgs ¶
type AuthServiceUserCheckAuthArgs struct {
Req *UserCheckAuthReq `thrift:"req,1" frugal:"1,default,UserCheckAuthReq" json:"req"`
}
func NewAuthServiceUserCheckAuthArgs ¶
func NewAuthServiceUserCheckAuthArgs() *AuthServiceUserCheckAuthArgs
func (*AuthServiceUserCheckAuthArgs) BLength ¶
func (p *AuthServiceUserCheckAuthArgs) BLength() int
func (*AuthServiceUserCheckAuthArgs) DeepEqual ¶
func (p *AuthServiceUserCheckAuthArgs) DeepEqual(ano *AuthServiceUserCheckAuthArgs) bool
func (*AuthServiceUserCheckAuthArgs) FastRead ¶
func (p *AuthServiceUserCheckAuthArgs) FastRead(buf []byte) (int, error)
func (*AuthServiceUserCheckAuthArgs) FastReadField1 ¶
func (p *AuthServiceUserCheckAuthArgs) FastReadField1(buf []byte) (int, error)
func (*AuthServiceUserCheckAuthArgs) FastWrite ¶
func (p *AuthServiceUserCheckAuthArgs) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceUserCheckAuthArgs) FastWriteNocopy ¶
func (p *AuthServiceUserCheckAuthArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceUserCheckAuthArgs) Field1DeepEqual ¶
func (p *AuthServiceUserCheckAuthArgs) Field1DeepEqual(src *UserCheckAuthReq) bool
func (*AuthServiceUserCheckAuthArgs) GetFirstArgument ¶
func (p *AuthServiceUserCheckAuthArgs) GetFirstArgument() interface{}
func (*AuthServiceUserCheckAuthArgs) GetReq ¶
func (p *AuthServiceUserCheckAuthArgs) GetReq() (v *UserCheckAuthReq)
func (*AuthServiceUserCheckAuthArgs) InitDefault ¶
func (p *AuthServiceUserCheckAuthArgs) InitDefault()
func (*AuthServiceUserCheckAuthArgs) IsSetReq ¶
func (p *AuthServiceUserCheckAuthArgs) IsSetReq() bool
func (*AuthServiceUserCheckAuthArgs) Read ¶
func (p *AuthServiceUserCheckAuthArgs) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceUserCheckAuthArgs) ReadField1 ¶
func (p *AuthServiceUserCheckAuthArgs) ReadField1(iprot thrift.TProtocol) error
func (*AuthServiceUserCheckAuthArgs) SetReq ¶
func (p *AuthServiceUserCheckAuthArgs) SetReq(val *UserCheckAuthReq)
func (*AuthServiceUserCheckAuthArgs) String ¶
func (p *AuthServiceUserCheckAuthArgs) String() string
type AuthServiceUserCheckAuthResult ¶
type AuthServiceUserCheckAuthResult struct {
Success *UserCheckAuthResp `thrift:"success,0,optional" frugal:"0,optional,UserCheckAuthResp" json:"success,omitempty"`
}
func NewAuthServiceUserCheckAuthResult ¶
func NewAuthServiceUserCheckAuthResult() *AuthServiceUserCheckAuthResult
func (*AuthServiceUserCheckAuthResult) BLength ¶
func (p *AuthServiceUserCheckAuthResult) BLength() int
func (*AuthServiceUserCheckAuthResult) DeepEqual ¶
func (p *AuthServiceUserCheckAuthResult) DeepEqual(ano *AuthServiceUserCheckAuthResult) bool
func (*AuthServiceUserCheckAuthResult) FastRead ¶
func (p *AuthServiceUserCheckAuthResult) FastRead(buf []byte) (int, error)
func (*AuthServiceUserCheckAuthResult) FastReadField0 ¶
func (p *AuthServiceUserCheckAuthResult) FastReadField0(buf []byte) (int, error)
func (*AuthServiceUserCheckAuthResult) FastWrite ¶
func (p *AuthServiceUserCheckAuthResult) FastWrite(buf []byte) int
for compatibility
func (*AuthServiceUserCheckAuthResult) FastWriteNocopy ¶
func (p *AuthServiceUserCheckAuthResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*AuthServiceUserCheckAuthResult) Field0DeepEqual ¶
func (p *AuthServiceUserCheckAuthResult) Field0DeepEqual(src *UserCheckAuthResp) bool
func (*AuthServiceUserCheckAuthResult) GetResult ¶
func (p *AuthServiceUserCheckAuthResult) GetResult() interface{}
func (*AuthServiceUserCheckAuthResult) GetSuccess ¶
func (p *AuthServiceUserCheckAuthResult) GetSuccess() (v *UserCheckAuthResp)
func (*AuthServiceUserCheckAuthResult) InitDefault ¶
func (p *AuthServiceUserCheckAuthResult) InitDefault()
func (*AuthServiceUserCheckAuthResult) IsSetSuccess ¶
func (p *AuthServiceUserCheckAuthResult) IsSetSuccess() bool
func (*AuthServiceUserCheckAuthResult) Read ¶
func (p *AuthServiceUserCheckAuthResult) Read(iprot thrift.TProtocol) (err error)
func (*AuthServiceUserCheckAuthResult) ReadField0 ¶
func (p *AuthServiceUserCheckAuthResult) ReadField0(iprot thrift.TProtocol) error
func (*AuthServiceUserCheckAuthResult) SetSuccess ¶
func (p *AuthServiceUserCheckAuthResult) SetSuccess(x interface{})
func (*AuthServiceUserCheckAuthResult) String ¶
func (p *AuthServiceUserCheckAuthResult) String() string
type UserCheckAuthReq ¶
type UserCheckAuthReq struct {
Token string `thrift:"token,1" frugal:"1,default,string" json:"token"`
}
var AuthServiceUserCheckAuthArgs_Req_DEFAULT *UserCheckAuthReq
func NewUserCheckAuthReq ¶
func NewUserCheckAuthReq() *UserCheckAuthReq
func (*UserCheckAuthReq) BLength ¶
func (p *UserCheckAuthReq) BLength() int
func (*UserCheckAuthReq) DeepEqual ¶
func (p *UserCheckAuthReq) DeepEqual(ano *UserCheckAuthReq) bool
func (*UserCheckAuthReq) FastReadField1 ¶
func (p *UserCheckAuthReq) FastReadField1(buf []byte) (int, error)
func (*UserCheckAuthReq) FastWrite ¶
func (p *UserCheckAuthReq) FastWrite(buf []byte) int
for compatibility
func (*UserCheckAuthReq) FastWriteNocopy ¶
func (p *UserCheckAuthReq) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserCheckAuthReq) Field1DeepEqual ¶
func (p *UserCheckAuthReq) Field1DeepEqual(src string) bool
func (*UserCheckAuthReq) GetToken ¶
func (p *UserCheckAuthReq) GetToken() (v string)
func (*UserCheckAuthReq) InitDefault ¶
func (p *UserCheckAuthReq) InitDefault()
func (*UserCheckAuthReq) ReadField1 ¶
func (p *UserCheckAuthReq) ReadField1(iprot thrift.TProtocol) error
func (*UserCheckAuthReq) SetToken ¶
func (p *UserCheckAuthReq) SetToken(val string)
func (*UserCheckAuthReq) String ¶
func (p *UserCheckAuthReq) String() string
type UserCheckAuthResp ¶
type UserCheckAuthResp struct { BaseResp *base.BaseResponse `thrift:"base_resp,1" frugal:"1,default,base.BaseResponse" json:"base_resp"` Uuid string `thrift:"uuid,2" frugal:"2,default,string" json:"uuid"` }
var AuthServiceUserCheckAuthResult_Success_DEFAULT *UserCheckAuthResp
func NewUserCheckAuthResp ¶
func NewUserCheckAuthResp() *UserCheckAuthResp
func (*UserCheckAuthResp) BLength ¶
func (p *UserCheckAuthResp) BLength() int
func (*UserCheckAuthResp) DeepEqual ¶
func (p *UserCheckAuthResp) DeepEqual(ano *UserCheckAuthResp) bool
func (*UserCheckAuthResp) FastReadField1 ¶
func (p *UserCheckAuthResp) FastReadField1(buf []byte) (int, error)
func (*UserCheckAuthResp) FastReadField2 ¶
func (p *UserCheckAuthResp) FastReadField2(buf []byte) (int, error)
func (*UserCheckAuthResp) FastWrite ¶
func (p *UserCheckAuthResp) FastWrite(buf []byte) int
for compatibility
func (*UserCheckAuthResp) FastWriteNocopy ¶
func (p *UserCheckAuthResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserCheckAuthResp) Field1DeepEqual ¶
func (p *UserCheckAuthResp) Field1DeepEqual(src *base.BaseResponse) bool
func (*UserCheckAuthResp) Field2DeepEqual ¶
func (p *UserCheckAuthResp) Field2DeepEqual(src string) bool
func (*UserCheckAuthResp) GetBaseResp ¶
func (p *UserCheckAuthResp) GetBaseResp() (v *base.BaseResponse)
func (*UserCheckAuthResp) GetUuid ¶
func (p *UserCheckAuthResp) GetUuid() (v string)
func (*UserCheckAuthResp) InitDefault ¶
func (p *UserCheckAuthResp) InitDefault()
func (*UserCheckAuthResp) IsSetBaseResp ¶
func (p *UserCheckAuthResp) IsSetBaseResp() bool
func (*UserCheckAuthResp) Read ¶
func (p *UserCheckAuthResp) Read(iprot thrift.TProtocol) (err error)
func (*UserCheckAuthResp) ReadField1 ¶
func (p *UserCheckAuthResp) ReadField1(iprot thrift.TProtocol) error
func (*UserCheckAuthResp) ReadField2 ¶
func (p *UserCheckAuthResp) ReadField2(iprot thrift.TProtocol) error
func (*UserCheckAuthResp) SetBaseResp ¶
func (p *UserCheckAuthResp) SetBaseResp(val *base.BaseResponse)
func (*UserCheckAuthResp) SetUuid ¶
func (p *UserCheckAuthResp) SetUuid(val string)
func (*UserCheckAuthResp) String ¶
func (p *UserCheckAuthResp) String() string
Click to show internal directories.
Click to hide internal directories.