Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Id int64 `json:"id"` Message string `json:"message"` DateCreated string `json:"date_created"` UserId int64 `json:"user_id"` CommandType CommandType `json:"command_type"` }
func (*Command) Validate ¶
func (command *Command) Validate() rest_errors.RestErr
type CommandType ¶
type CommandType Enum
const ( CommandTypeStock CommandType = "STOCK" CommandTypeChat CommandType = "CHAT" )
Command tyoe
Click to show internal directories.
Click to hide internal directories.