status

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type TStatus

type TStatus struct {
	StatusCode errorcodes.TErrorCode `thrift:"status_code,1,required" db:"status_code" json:"status_code"`
	ErrorMsgs  []string              `thrift:"error_msgs,2" db:"error_msgs" json:"error_msgs"`
}

Attributes:

  • StatusCode
  • ErrorMsgs

func NewTStatus

func NewTStatus() *TStatus

func (*TStatus) Equals added in v0.16.0

func (p *TStatus) Equals(other *TStatus) bool

func (*TStatus) GetErrorMsgs

func (p *TStatus) GetErrorMsgs() []string

func (*TStatus) GetStatusCode

func (p *TStatus) GetStatusCode() errorcodes.TErrorCode

func (*TStatus) Read

func (p *TStatus) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TStatus) ReadField1

func (p *TStatus) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TStatus) ReadField2

func (p *TStatus) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TStatus) String

func (p *TStatus) String() string

func (*TStatus) Write

func (p *TStatus) Write(ctx context.Context, oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

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