Documentation
¶
Index ¶
- type Lua
- func (*Lua) Descriptor() ([]byte, []int)
- func (m *Lua) GetInlineCode() string
- func (*Lua) ProtoMessage()
- func (m *Lua) Reset()
- func (m *Lua) String() string
- func (m *Lua) Validate() error
- func (m *Lua) XXX_DiscardUnknown()
- func (m *Lua) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Lua) XXX_Merge(src proto.Message)
- func (m *Lua) XXX_Size() int
- func (m *Lua) XXX_Unmarshal(b []byte) error
- type LuaValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lua ¶
type Lua struct { InlineCode string `protobuf:"bytes,1,opt,name=inline_code,json=inlineCode,proto3" json:"inline_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Lua) Descriptor ¶
func (*Lua) GetInlineCode ¶
func (*Lua) ProtoMessage ¶
func (*Lua) ProtoMessage()
func (*Lua) Validate ¶
Validate checks the field values on Lua with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Lua) XXX_DiscardUnknown ¶
func (m *Lua) XXX_DiscardUnknown()
func (*Lua) XXX_Unmarshal ¶
type LuaValidationError ¶
type LuaValidationError struct {
// contains filtered or unexported fields
}
LuaValidationError is the validation error returned by Lua.Validate if the designated constraints aren't met.
func (LuaValidationError) Cause ¶
func (e LuaValidationError) Cause() error
Cause function returns cause value.
func (LuaValidationError) Error ¶
func (e LuaValidationError) Error() string
Error satisfies the builtin error interface
func (LuaValidationError) ErrorName ¶
func (e LuaValidationError) ErrorName() string
ErrorName returns error name.
func (LuaValidationError) Field ¶
func (e LuaValidationError) Field() string
Field function returns field value.
func (LuaValidationError) Key ¶
func (e LuaValidationError) Key() bool
Key function returns key value.
func (LuaValidationError) Reason ¶
func (e LuaValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.