empty_room

package
v0.0.0-...-431f65c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyRoomRequest_Account_DEFAULT string
View Source
var EmptyRoomRequest_Password_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

Functions

This section is empty.

Types

type BaseResp

type BaseResp struct {
	Code int64  `thrift:"code,1" frugal:"1,default,i64" json:"code"`
	Msg  string `thrift:"msg,2" frugal:"2,default,string" json:"msg"`
}
var EmptyRoomResponse_Base_DEFAULT *BaseResp

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

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

func (*BaseResp) FastRead

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

func (*BaseResp) FastReadField1

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

func (*BaseResp) FastReadField2

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

func (*BaseResp) FastWrite

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

for compatibility

func (*BaseResp) FastWriteNocopy

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

func (*BaseResp) Field1DeepEqual

func (p *BaseResp) Field1DeepEqual(src int64) bool

func (*BaseResp) Field2DeepEqual

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

func (*BaseResp) GetCode

func (p *BaseResp) GetCode() (v int64)

func (*BaseResp) GetMsg

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

func (*BaseResp) InitDefault

func (p *BaseResp) InitDefault()

func (*BaseResp) Read

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

func (*BaseResp) ReadField1

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

func (*BaseResp) ReadField2

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

func (*BaseResp) SetCode

func (p *BaseResp) SetCode(val int64)

func (*BaseResp) SetMsg

func (p *BaseResp) SetMsg(val string)

func (*BaseResp) String

func (p *BaseResp) String() string

func (*BaseResp) Write

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

type EmptyRoomRequest

type EmptyRoomRequest struct {
	Token    string  `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	Time     string  `thrift:"time,2,required" frugal:"2,required,string" json:"time"`
	Start    string  `thrift:"start,3,required" frugal:"3,required,string" json:"start"`
	End      string  `thrift:"end,4,required" frugal:"4,required,string" json:"end"`
	Building string  `thrift:"building,5,required" frugal:"5,required,string" json:"building"`
	Account  *string `thrift:"account,6,optional" frugal:"6,optional,string" json:"account,omitempty"`
	Password *string `thrift:"password,7,optional" frugal:"7,optional,string" json:"password,omitempty"`
}
var EmptyRoomServiceGetEmptyRoomArgs_Req_DEFAULT *EmptyRoomRequest

func NewEmptyRoomRequest

func NewEmptyRoomRequest() *EmptyRoomRequest

func (*EmptyRoomRequest) BLength

func (p *EmptyRoomRequest) BLength() int

func (*EmptyRoomRequest) DeepEqual

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

func (*EmptyRoomRequest) FastRead

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

func (*EmptyRoomRequest) FastReadField1

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

func (*EmptyRoomRequest) FastReadField2

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

func (*EmptyRoomRequest) FastReadField3

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

func (*EmptyRoomRequest) FastReadField4

func (p *EmptyRoomRequest) FastReadField4(buf []byte) (int, error)

func (*EmptyRoomRequest) FastReadField5

func (p *EmptyRoomRequest) FastReadField5(buf []byte) (int, error)

func (*EmptyRoomRequest) FastReadField6

func (p *EmptyRoomRequest) FastReadField6(buf []byte) (int, error)

func (*EmptyRoomRequest) FastReadField7

func (p *EmptyRoomRequest) FastReadField7(buf []byte) (int, error)

func (*EmptyRoomRequest) FastWrite

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

for compatibility

func (*EmptyRoomRequest) FastWriteNocopy

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

func (*EmptyRoomRequest) Field1DeepEqual

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

func (*EmptyRoomRequest) Field2DeepEqual

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

func (*EmptyRoomRequest) Field3DeepEqual

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

func (*EmptyRoomRequest) Field4DeepEqual

func (p *EmptyRoomRequest) Field4DeepEqual(src string) bool

func (*EmptyRoomRequest) Field5DeepEqual

func (p *EmptyRoomRequest) Field5DeepEqual(src string) bool

func (*EmptyRoomRequest) Field6DeepEqual

func (p *EmptyRoomRequest) Field6DeepEqual(src *string) bool

func (*EmptyRoomRequest) Field7DeepEqual

func (p *EmptyRoomRequest) Field7DeepEqual(src *string) bool

func (*EmptyRoomRequest) GetAccount

func (p *EmptyRoomRequest) GetAccount() (v string)

func (*EmptyRoomRequest) GetBuilding

func (p *EmptyRoomRequest) GetBuilding() (v string)

func (*EmptyRoomRequest) GetEnd

func (p *EmptyRoomRequest) GetEnd() (v string)

func (*EmptyRoomRequest) GetPassword

func (p *EmptyRoomRequest) GetPassword() (v string)

func (*EmptyRoomRequest) GetStart

func (p *EmptyRoomRequest) GetStart() (v string)

func (*EmptyRoomRequest) GetTime

func (p *EmptyRoomRequest) GetTime() (v string)

func (*EmptyRoomRequest) GetToken

func (p *EmptyRoomRequest) GetToken() (v string)

func (*EmptyRoomRequest) InitDefault

func (p *EmptyRoomRequest) InitDefault()

func (*EmptyRoomRequest) IsSetAccount

func (p *EmptyRoomRequest) IsSetAccount() bool

func (*EmptyRoomRequest) IsSetPassword

func (p *EmptyRoomRequest) IsSetPassword() bool

func (*EmptyRoomRequest) Read

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

func (*EmptyRoomRequest) ReadField1

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

func (*EmptyRoomRequest) ReadField2

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

func (*EmptyRoomRequest) ReadField3

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

func (*EmptyRoomRequest) ReadField4

func (p *EmptyRoomRequest) ReadField4(iprot thrift.TProtocol) error

func (*EmptyRoomRequest) ReadField5

func (p *EmptyRoomRequest) ReadField5(iprot thrift.TProtocol) error

func (*EmptyRoomRequest) ReadField6

func (p *EmptyRoomRequest) ReadField6(iprot thrift.TProtocol) error

func (*EmptyRoomRequest) ReadField7

func (p *EmptyRoomRequest) ReadField7(iprot thrift.TProtocol) error

func (*EmptyRoomRequest) SetAccount

func (p *EmptyRoomRequest) SetAccount(val *string)

func (*EmptyRoomRequest) SetBuilding

func (p *EmptyRoomRequest) SetBuilding(val string)

func (*EmptyRoomRequest) SetEnd

func (p *EmptyRoomRequest) SetEnd(val string)

func (*EmptyRoomRequest) SetPassword

func (p *EmptyRoomRequest) SetPassword(val *string)

func (*EmptyRoomRequest) SetStart

func (p *EmptyRoomRequest) SetStart(val string)

func (*EmptyRoomRequest) SetTime

func (p *EmptyRoomRequest) SetTime(val string)

func (*EmptyRoomRequest) SetToken

func (p *EmptyRoomRequest) SetToken(val string)

func (*EmptyRoomRequest) String

func (p *EmptyRoomRequest) String() string

func (*EmptyRoomRequest) Write

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

type EmptyRoomResponse

type EmptyRoomResponse struct {
	Base     *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	RoomName []string  `thrift:"room_name,2,required" frugal:"2,required,list<string>" json:"room_name"`
}
var EmptyRoomServiceGetEmptyRoomResult_Success_DEFAULT *EmptyRoomResponse

func NewEmptyRoomResponse

func NewEmptyRoomResponse() *EmptyRoomResponse

func (*EmptyRoomResponse) BLength

func (p *EmptyRoomResponse) BLength() int

func (*EmptyRoomResponse) DeepEqual

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

func (*EmptyRoomResponse) FastRead

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

func (*EmptyRoomResponse) FastReadField1

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

func (*EmptyRoomResponse) FastReadField2

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

func (*EmptyRoomResponse) FastWrite

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

for compatibility

func (*EmptyRoomResponse) FastWriteNocopy

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

func (*EmptyRoomResponse) Field1DeepEqual

func (p *EmptyRoomResponse) Field1DeepEqual(src *BaseResp) bool

func (*EmptyRoomResponse) Field2DeepEqual

func (p *EmptyRoomResponse) Field2DeepEqual(src []string) bool

func (*EmptyRoomResponse) GetBase

func (p *EmptyRoomResponse) GetBase() (v *BaseResp)

func (*EmptyRoomResponse) GetRoomName

func (p *EmptyRoomResponse) GetRoomName() (v []string)

func (*EmptyRoomResponse) InitDefault

func (p *EmptyRoomResponse) InitDefault()

func (*EmptyRoomResponse) IsSetBase

func (p *EmptyRoomResponse) IsSetBase() bool

func (*EmptyRoomResponse) Read

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

func (*EmptyRoomResponse) ReadField1

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

func (*EmptyRoomResponse) ReadField2

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

func (*EmptyRoomResponse) SetBase

func (p *EmptyRoomResponse) SetBase(val *BaseResp)

func (*EmptyRoomResponse) SetRoomName

func (p *EmptyRoomResponse) SetRoomName(val []string)

func (*EmptyRoomResponse) String

func (p *EmptyRoomResponse) String() string

func (*EmptyRoomResponse) Write

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

type EmptyRoomService

type EmptyRoomService interface {
	GetEmptyRoom(ctx context.Context, req *EmptyRoomRequest) (r *EmptyRoomResponse, err error)
}

type EmptyRoomServiceClient

type EmptyRoomServiceClient struct {
	// contains filtered or unexported fields
}

func NewEmptyRoomServiceClient

func NewEmptyRoomServiceClient(c thrift.TClient) *EmptyRoomServiceClient

func NewEmptyRoomServiceClientProtocol

func NewEmptyRoomServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *EmptyRoomServiceClient

func (*EmptyRoomServiceClient) Client_

func (p *EmptyRoomServiceClient) Client_() thrift.TClient

func (*EmptyRoomServiceClient) GetEmptyRoom

func (p *EmptyRoomServiceClient) GetEmptyRoom(ctx context.Context, req *EmptyRoomRequest) (r *EmptyRoomResponse, err error)

type EmptyRoomServiceGetEmptyRoomArgs

type EmptyRoomServiceGetEmptyRoomArgs struct {
	Req *EmptyRoomRequest `thrift:"req,1" frugal:"1,default,EmptyRoomRequest" json:"req"`
}

func NewEmptyRoomServiceGetEmptyRoomArgs

func NewEmptyRoomServiceGetEmptyRoomArgs() *EmptyRoomServiceGetEmptyRoomArgs

func (*EmptyRoomServiceGetEmptyRoomArgs) BLength

func (*EmptyRoomServiceGetEmptyRoomArgs) DeepEqual

func (*EmptyRoomServiceGetEmptyRoomArgs) FastRead

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

func (*EmptyRoomServiceGetEmptyRoomArgs) FastReadField1

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

func (*EmptyRoomServiceGetEmptyRoomArgs) FastWrite

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

for compatibility

func (*EmptyRoomServiceGetEmptyRoomArgs) FastWriteNocopy

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

func (*EmptyRoomServiceGetEmptyRoomArgs) Field1DeepEqual

func (p *EmptyRoomServiceGetEmptyRoomArgs) Field1DeepEqual(src *EmptyRoomRequest) bool

func (*EmptyRoomServiceGetEmptyRoomArgs) GetFirstArgument

func (p *EmptyRoomServiceGetEmptyRoomArgs) GetFirstArgument() interface{}

func (*EmptyRoomServiceGetEmptyRoomArgs) GetReq

func (*EmptyRoomServiceGetEmptyRoomArgs) InitDefault

func (p *EmptyRoomServiceGetEmptyRoomArgs) InitDefault()

func (*EmptyRoomServiceGetEmptyRoomArgs) IsSetReq

func (p *EmptyRoomServiceGetEmptyRoomArgs) IsSetReq() bool

func (*EmptyRoomServiceGetEmptyRoomArgs) Read

func (*EmptyRoomServiceGetEmptyRoomArgs) ReadField1

func (*EmptyRoomServiceGetEmptyRoomArgs) SetReq

func (*EmptyRoomServiceGetEmptyRoomArgs) String

func (*EmptyRoomServiceGetEmptyRoomArgs) Write

type EmptyRoomServiceGetEmptyRoomResult

type EmptyRoomServiceGetEmptyRoomResult struct {
	Success *EmptyRoomResponse `thrift:"success,0,optional" frugal:"0,optional,EmptyRoomResponse" json:"success,omitempty"`
}

func NewEmptyRoomServiceGetEmptyRoomResult

func NewEmptyRoomServiceGetEmptyRoomResult() *EmptyRoomServiceGetEmptyRoomResult

func (*EmptyRoomServiceGetEmptyRoomResult) BLength

func (*EmptyRoomServiceGetEmptyRoomResult) DeepEqual

func (*EmptyRoomServiceGetEmptyRoomResult) FastRead

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

func (*EmptyRoomServiceGetEmptyRoomResult) FastReadField0

func (p *EmptyRoomServiceGetEmptyRoomResult) FastReadField0(buf []byte) (int, error)

func (*EmptyRoomServiceGetEmptyRoomResult) FastWrite

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

for compatibility

func (*EmptyRoomServiceGetEmptyRoomResult) FastWriteNocopy

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

func (*EmptyRoomServiceGetEmptyRoomResult) Field0DeepEqual

func (*EmptyRoomServiceGetEmptyRoomResult) GetResult

func (p *EmptyRoomServiceGetEmptyRoomResult) GetResult() interface{}

func (*EmptyRoomServiceGetEmptyRoomResult) GetSuccess

func (*EmptyRoomServiceGetEmptyRoomResult) InitDefault

func (p *EmptyRoomServiceGetEmptyRoomResult) InitDefault()

func (*EmptyRoomServiceGetEmptyRoomResult) IsSetSuccess

func (p *EmptyRoomServiceGetEmptyRoomResult) IsSetSuccess() bool

func (*EmptyRoomServiceGetEmptyRoomResult) Read

func (*EmptyRoomServiceGetEmptyRoomResult) ReadField0

func (*EmptyRoomServiceGetEmptyRoomResult) SetSuccess

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

func (*EmptyRoomServiceGetEmptyRoomResult) String

func (*EmptyRoomServiceGetEmptyRoomResult) Write

type EmptyRoomServiceProcessor

type EmptyRoomServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewEmptyRoomServiceProcessor

func NewEmptyRoomServiceProcessor(handler EmptyRoomService) *EmptyRoomServiceProcessor

func (*EmptyRoomServiceProcessor) AddToProcessorMap

func (p *EmptyRoomServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*EmptyRoomServiceProcessor) GetProcessorFunction

func (p *EmptyRoomServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*EmptyRoomServiceProcessor) Process

func (p *EmptyRoomServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*EmptyRoomServiceProcessor) ProcessorMap

Directories

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

Jump to

Keyboard shortcuts

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