Documentation ¶
Index ¶
- Variables
- type TStatus
- func (p *TStatus) Equals(other *TStatus) bool
- func (p *TStatus) GetErrorMsgs() []string
- func (p *TStatus) GetStatusCode() TStatusCode
- func (p *TStatus) LogValue() slog.Value
- func (p *TStatus) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TStatus) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TStatus) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TStatus) String() string
- func (p *TStatus) Validate() error
- func (p *TStatus) Write(ctx context.Context, 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
func (*TStatus) ReadField1 ¶
func (*TStatus) ReadField2 ¶
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
Click to show internal directories.
Click to hide internal directories.