Documentation ¶
Index ¶
- Variables
- type TStatus
- func (p *TStatus) GetErrorMsgs() []string
- func (p *TStatus) GetStatusCode() TStatusCode
- func (p *TStatus) Read(iprot thrift.TProtocol) error
- func (p *TStatus) ReadField1(iprot thrift.TProtocol) error
- func (p *TStatus) ReadField2(iprot thrift.TProtocol) error
- func (p *TStatus) String() string
- func (p *TStatus) Write(oprot thrift.TProtocol) error
- type TStatusCode
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 (*TStatus) GetStatusCode ¶
func (p *TStatus) GetStatusCode() TStatusCode
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 TStatusCode_RECOVERABLE_ERROR TStatusCode = 7 )
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
Click to show internal directories.
Click to hide internal directories.