config

package
v0.0.0-...-6d8be9f Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by Kitex v0.4.2. DO NOT EDIT.

Index

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

func NewInvoker(handler api.Config, opts ...server.Option) server.Invoker

NewInvoker creates a server.Invoker with the given handler and options.

func NewServer

func NewServer(handler api.Config, opts ...server.Option) server.Server

NewServer creates a server.Server 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

func MustNewClient(destService string, opts ...client.Option) Client

MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.

func NewClient

func NewClient(destService string, opts ...client.Option) (Client, error)

NewClient creates a client for the service defined in IDL.

type CreateConfigArgs

type CreateConfigArgs struct {
	Req *api.CreateConfigReq
}

func (*CreateConfigArgs) FastRead

func (p *CreateConfigArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

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

func (p *CreateConfigArgs) Marshal(out []byte) ([]byte, error)

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

func (p *CreateConfigResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

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

Jump to

Keyboard shortcuts

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