Documentation ¶
Index ¶
- Constants
- Variables
- type LogLevel
- func (v LogLevel) ConstValues() []enum.IntStringerEnum
- func (v LogLevel) Int() int
- func (v LogLevel) Label() string
- func (v LogLevel) Level() slog.Level
- func (v LogLevel) MarshalText() ([]byte, error)
- func (v *LogLevel) Scan(src interface{}) error
- func (v LogLevel) String() string
- func (v LogLevel) TypeName() string
- func (v *LogLevel) UnmarshalText(data []byte) error
- func (v LogLevel) Value() (driver.Value, error)
- type Result
- func (v Result) ConstValues() []enum.IntStringerEnum
- func (v Result) Error() string
- func (v Result) Int() int
- func (v Result) Int32() int32
- func (v Result) Label() string
- func (v Result) MarshalText() ([]byte, error)
- func (v Result) OK() bool
- func (v *Result) Scan(src interface{}) error
- func (v Result) String() string
- func (v Result) TypeName() string
- func (v *Result) UnmarshalText(data []byte) error
- func (v Result) Value() (driver.Value, error)
Constants ¶
View Source
const RESULT_OK = RESULT_UNKNOWN
Variables ¶
View Source
var InvalidLogLevel = errors.New("invalid LogLevel type")
View Source
var InvalidResult = errors.New("invalid Result type")
Functions ¶
This section is empty.
Types ¶
type LogLevel ¶
type LogLevel int32
func ParseLogLevelFromLabel ¶
func ParseLogLevelFromString ¶
func (LogLevel) ConstValues ¶
func (v LogLevel) ConstValues() []enum.IntStringerEnum
func (LogLevel) MarshalText ¶
func (*LogLevel) UnmarshalText ¶
type Result ¶
type Result int32
func ParseResultFromLabel ¶
func ParseResultFromString ¶
func (Result) ConstValues ¶
func (v Result) ConstValues() []enum.IntStringerEnum
func (Result) MarshalText ¶
func (*Result) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.