Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type EchoEchoArgs ¶
type EchoEchoArgs struct {
Req *Request `thrift:"req,1" frugal:"1,default,Request" json:"req"`
}
func NewEchoEchoArgs ¶
func NewEchoEchoArgs() *EchoEchoArgs
func (*EchoEchoArgs) GetFirstArgument ¶
func (p *EchoEchoArgs) GetFirstArgument() interface{}
func (*EchoEchoArgs) GetReq ¶
func (p *EchoEchoArgs) GetReq() (v *Request)
func (*EchoEchoArgs) InitDefault ¶
func (p *EchoEchoArgs) InitDefault()
func (*EchoEchoArgs) IsSetReq ¶
func (p *EchoEchoArgs) IsSetReq() bool
func (*EchoEchoArgs) SetReq ¶
func (p *EchoEchoArgs) SetReq(val *Request)
func (*EchoEchoArgs) String ¶
func (p *EchoEchoArgs) String() string
type EchoEchoResult ¶
type EchoEchoResult struct {
Success *Response `thrift:"success,0,optional" frugal:"0,optional,Response" json:"success,omitempty"`
}
func NewEchoEchoResult ¶
func NewEchoEchoResult() *EchoEchoResult
func (*EchoEchoResult) GetResult ¶
func (p *EchoEchoResult) GetResult() interface{}
func (*EchoEchoResult) GetSuccess ¶
func (p *EchoEchoResult) GetSuccess() (v *Response)
func (*EchoEchoResult) InitDefault ¶
func (p *EchoEchoResult) InitDefault()
func (*EchoEchoResult) IsSetSuccess ¶
func (p *EchoEchoResult) IsSetSuccess() bool
func (*EchoEchoResult) SetSuccess ¶
func (p *EchoEchoResult) SetSuccess(x interface{})
func (*EchoEchoResult) String ¶
func (p *EchoEchoResult) String() string
type Request ¶
type Request struct {
Message string `thrift:"message,1" frugal:"1,default,string" json:"message"`
}
var EchoEchoArgs_Req_DEFAULT *Request
func NewRequest ¶
func NewRequest() *Request
func (*Request) Field1DeepEqual ¶ added in v0.4.0
func (*Request) GetMessage ¶
func (*Request) InitDefault ¶
func (p *Request) InitDefault()
func (*Request) SetMessage ¶
type Response ¶
type Response struct {
Message string `thrift:"message,1" frugal:"1,default,string" json:"message"`
}
var EchoEchoResult_Success_DEFAULT *Response
func NewResponse ¶
func NewResponse() *Response
func (*Response) Field1DeepEqual ¶ added in v0.4.0
func (*Response) GetMessage ¶
func (*Response) InitDefault ¶
func (p *Response) InitDefault()
func (*Response) SetMessage ¶
Click to show internal directories.
Click to hide internal directories.