status

package
v0.0.0-...-f236e99 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 7 Imported by: 3

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 TStatusCode `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) GetErrorMsgs

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

func (*TStatus) GetStatusCode

func (p *TStatus) GetStatusCode() TStatusCode

func (*TStatus) Read

func (p *TStatus) Read(iprot thrift.TProtocol) error

func (*TStatus) ReadField1

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

func (*TStatus) ReadField2

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

func (*TStatus) String

func (p *TStatus) String() string

func (*TStatus) Write

func (p *TStatus) Write(oprot thrift.TProtocol) error

type TStatusCode

type TStatusCode int64
const (
	TStatusCode_OK                    TStatusCode = 0
	TStatusCode_CANCELLED             TStatusCode = 1
	TStatusCode_ANALYSIS_ERROR        TStatusCode = 2
	TStatusCode_NOT_IMPLEMENTED_ERROR TStatusCode = 3
	TStatusCode_RUNTIME_ERROR         TStatusCode = 4
	TStatusCode_MEM_LIMIT_EXCEEDED    TStatusCode = 5
	TStatusCode_INTERNAL_ERROR        TStatusCode = 6
)

func TStatusCodeFromString

func TStatusCodeFromString(s string) (TStatusCode, error)

func TStatusCodePtr

func TStatusCodePtr(v TStatusCode) *TStatusCode

func (TStatusCode) MarshalText

func (p TStatusCode) MarshalText() ([]byte, error)

func (*TStatusCode) Scan

func (p *TStatusCode) Scan(value interface{}) error

func (TStatusCode) String

func (p TStatusCode) String() string

func (*TStatusCode) UnmarshalText

func (p *TStatusCode) UnmarshalText(text []byte) error

func (*TStatusCode) Value

func (p *TStatusCode) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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