base

package
v0.0.0-...-2693892 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResponse

type BaseResponse struct {
	StatusCode int64  `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"`
	StatusMsg  string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"`
}

func NewBaseResponse

func NewBaseResponse() *BaseResponse

func (*BaseResponse) GetStatusCode

func (p *BaseResponse) GetStatusCode() (v int64)

func (*BaseResponse) GetStatusMsg

func (p *BaseResponse) GetStatusMsg() (v string)

func (*BaseResponse) Read

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

func (*BaseResponse) ReadField1

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

func (*BaseResponse) ReadField2

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

func (*BaseResponse) String

func (p *BaseResponse) String() string

func (*BaseResponse) Write

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

type NilResponse

type NilResponse struct {
}

func NewNilResponse

func NewNilResponse() *NilResponse

func (*NilResponse) Read

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

func (*NilResponse) String

func (p *NilResponse) String() string

func (*NilResponse) Write

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

type User

type User struct {
	UUID     string `thrift:"uuid,1" form:"uuid" json:"uuid" query:"uuid"`
	Username string `thrift:"username,2" form:"username" json:"username" query:"username"`
	Password string `thrift:"password,3" form:"password" json:"password" query:"password"`
}

func NewUser

func NewUser() *User

func (*User) GetPassword

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

func (*User) GetUUID

func (p *User) GetUUID() (v string)

func (*User) GetUsername

func (p *User) GetUsername() (v string)

func (*User) Read

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

func (*User) ReadField1

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

func (*User) ReadField2

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

func (*User) ReadField3

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

func (*User) String

func (p *User) String() string

func (*User) Write

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

Jump to

Keyboard shortcuts

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