greet

package
v0.0.0-...-8908e29 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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 GreetRequest

type GreetRequest struct {
	Greet  string `thrift:"Greet,1" frugal:"1,default,string" json:"Greet"`
	Name   string `thrift:"Name,2" frugal:"2,default,string" json:"Name"`
	Gender string `thrift:"Gender,3" frugal:"3,default,string" json:"Gender"`
}

func NewGreetRequest

func NewGreetRequest() *GreetRequest

func (*GreetRequest) BLength

func (p *GreetRequest) BLength() int

func (*GreetRequest) DeepEqual

func (p *GreetRequest) DeepEqual(ano *GreetRequest) bool

func (*GreetRequest) FastRead

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

func (*GreetRequest) FastReadField1

func (p *GreetRequest) FastReadField1(buf []byte) (int, error)

func (*GreetRequest) FastReadField2

func (p *GreetRequest) FastReadField2(buf []byte) (int, error)

func (*GreetRequest) FastReadField3

func (p *GreetRequest) FastReadField3(buf []byte) (int, error)

func (*GreetRequest) FastWrite

func (p *GreetRequest) FastWrite(buf []byte) int

for compatibility

func (*GreetRequest) FastWriteNocopy

func (p *GreetRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GreetRequest) Field1DeepEqual

func (p *GreetRequest) Field1DeepEqual(src string) bool

func (*GreetRequest) Field2DeepEqual

func (p *GreetRequest) Field2DeepEqual(src string) bool

func (*GreetRequest) Field3DeepEqual

func (p *GreetRequest) Field3DeepEqual(src string) bool

func (*GreetRequest) GetGender

func (p *GreetRequest) GetGender() (v string)

func (*GreetRequest) GetGreet

func (p *GreetRequest) GetGreet() (v string)

func (*GreetRequest) GetName

func (p *GreetRequest) GetName() (v string)

func (*GreetRequest) InitDefault

func (p *GreetRequest) InitDefault()

func (*GreetRequest) Read

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

func (*GreetRequest) ReadField1

func (p *GreetRequest) ReadField1(iprot thrift.TProtocol) error

func (*GreetRequest) ReadField2

func (p *GreetRequest) ReadField2(iprot thrift.TProtocol) error

func (*GreetRequest) ReadField3

func (p *GreetRequest) ReadField3(iprot thrift.TProtocol) error

func (*GreetRequest) SetGender

func (p *GreetRequest) SetGender(val string)

func (*GreetRequest) SetGreet

func (p *GreetRequest) SetGreet(val string)

func (*GreetRequest) SetName

func (p *GreetRequest) SetName(val string)

func (*GreetRequest) String

func (p *GreetRequest) String() string

func (*GreetRequest) Write

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

type GreetResponse

type GreetResponse struct {
	Ok  bool   `thrift:"Ok,1" frugal:"1,default,bool" json:"Ok"`
	Msg string `thrift:"Msg,2" frugal:"2,default,string" json:"Msg"`
}

func NewGreetResponse

func NewGreetResponse() *GreetResponse

func (*GreetResponse) BLength

func (p *GreetResponse) BLength() int

func (*GreetResponse) DeepEqual

func (p *GreetResponse) DeepEqual(ano *GreetResponse) bool

func (*GreetResponse) FastRead

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

func (*GreetResponse) FastReadField1

func (p *GreetResponse) FastReadField1(buf []byte) (int, error)

func (*GreetResponse) FastReadField2

func (p *GreetResponse) FastReadField2(buf []byte) (int, error)

func (*GreetResponse) FastWrite

func (p *GreetResponse) FastWrite(buf []byte) int

for compatibility

func (*GreetResponse) FastWriteNocopy

func (p *GreetResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GreetResponse) Field1DeepEqual

func (p *GreetResponse) Field1DeepEqual(src bool) bool

func (*GreetResponse) Field2DeepEqual

func (p *GreetResponse) Field2DeepEqual(src string) bool

func (*GreetResponse) GetMsg

func (p *GreetResponse) GetMsg() (v string)

func (*GreetResponse) GetOk

func (p *GreetResponse) GetOk() (v bool)

func (*GreetResponse) InitDefault

func (p *GreetResponse) InitDefault()

func (*GreetResponse) Read

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

func (*GreetResponse) ReadField1

func (p *GreetResponse) ReadField1(iprot thrift.TProtocol) error

func (*GreetResponse) ReadField2

func (p *GreetResponse) ReadField2(iprot thrift.TProtocol) error

func (*GreetResponse) SetMsg

func (p *GreetResponse) SetMsg(val string)

func (*GreetResponse) SetOk

func (p *GreetResponse) SetOk(val bool)

func (*GreetResponse) String

func (p *GreetResponse) String() string

func (*GreetResponse) Write

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

Jump to

Keyboard shortcuts

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