Documentation ¶
Overview ¶
Code generated by Kitex v0.4.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler api.Config, opts ...server.Option) server.Invoker
- func NewServer(handler api.Config, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type CreateConfigArgs
- func (p *CreateConfigArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateConfigArgs) FastWrite(buf []byte) (n int)
- func (p *CreateConfigArgs) GetReq() *api.CreateConfigReq
- func (p *CreateConfigArgs) IsSetReq() bool
- func (p *CreateConfigArgs) Marshal(out []byte) ([]byte, error)
- func (p *CreateConfigArgs) Size() (n int)
- func (p *CreateConfigArgs) Unmarshal(in []byte) error
- type CreateConfigResult
- func (p *CreateConfigResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateConfigResult) FastWrite(buf []byte) (n int)
- func (p *CreateConfigResult) GetSuccess() *api.CreateConfigReply
- func (p *CreateConfigResult) IsSetSuccess() bool
- func (p *CreateConfigResult) Marshal(out []byte) ([]byte, error)
- func (p *CreateConfigResult) SetSuccess(x interface{})
- func (p *CreateConfigResult) Size() (n int)
- func (p *CreateConfigResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateConfigArgs_Req_DEFAULT *api.CreateConfigReq
View Source
var CreateConfigResult_Success_DEFAULT *api.CreateConfigReply
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface {
CreateConfig(ctx context.Context, Req *api.CreateConfigReq, callOptions ...callopt.Option) (r *api.CreateConfigReply, err error)
}
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
type CreateConfigArgs ¶
type CreateConfigArgs struct {
Req *api.CreateConfigReq
}
func (*CreateConfigArgs) FastWrite ¶
func (p *CreateConfigArgs) FastWrite(buf []byte) (n int)
func (*CreateConfigArgs) GetReq ¶
func (p *CreateConfigArgs) GetReq() *api.CreateConfigReq
func (*CreateConfigArgs) IsSetReq ¶
func (p *CreateConfigArgs) IsSetReq() bool
func (*CreateConfigArgs) Size ¶
func (p *CreateConfigArgs) Size() (n int)
func (*CreateConfigArgs) Unmarshal ¶
func (p *CreateConfigArgs) Unmarshal(in []byte) error
type CreateConfigResult ¶
type CreateConfigResult struct {
Success *api.CreateConfigReply
}
func (*CreateConfigResult) FastWrite ¶
func (p *CreateConfigResult) FastWrite(buf []byte) (n int)
func (*CreateConfigResult) GetSuccess ¶
func (p *CreateConfigResult) GetSuccess() *api.CreateConfigReply
func (*CreateConfigResult) IsSetSuccess ¶
func (p *CreateConfigResult) IsSetSuccess() bool
func (*CreateConfigResult) Marshal ¶
func (p *CreateConfigResult) Marshal(out []byte) ([]byte, error)
func (*CreateConfigResult) SetSuccess ¶
func (p *CreateConfigResult) SetSuccess(x interface{})
func (*CreateConfigResult) Size ¶
func (p *CreateConfigResult) Size() (n int)
func (*CreateConfigResult) Unmarshal ¶
func (p *CreateConfigResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.