auth

package
v0.0.0-...-2693892 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 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 (*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 (*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 (*AuthServiceUserCheckAuthArgs) String

func (*AuthServiceUserCheckAuthArgs) Write

func (p *AuthServiceUserCheckAuthArgs) Write(oprot thrift.TProtocol) (err error)

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 (*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 (*AuthServiceUserCheckAuthResult) InitDefault

func (p *AuthServiceUserCheckAuthResult) InitDefault()

func (*AuthServiceUserCheckAuthResult) IsSetSuccess

func (p *AuthServiceUserCheckAuthResult) IsSetSuccess() bool

func (*AuthServiceUserCheckAuthResult) Read

func (*AuthServiceUserCheckAuthResult) ReadField0

func (*AuthServiceUserCheckAuthResult) SetSuccess

func (p *AuthServiceUserCheckAuthResult) SetSuccess(x interface{})

func (*AuthServiceUserCheckAuthResult) String

func (*AuthServiceUserCheckAuthResult) Write

func (p *AuthServiceUserCheckAuthResult) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *UserCheckAuthReq) FastRead(buf []byte) (int, error)

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) Read

func (p *UserCheckAuthReq) Read(iprot thrift.TProtocol) (err error)

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

func (*UserCheckAuthReq) Write

func (p *UserCheckAuthReq) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *UserCheckAuthResp) FastRead(buf []byte) (int, error)

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

func (*UserCheckAuthResp) Write

func (p *UserCheckAuthResp) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.5.2.
Code generated by Kitex v0.5.2.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL