Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryItem ¶ added in v1.0.1
type HistoryItem struct { // command Command string `json:"command,omitempty"` // created Created string `json:"created,omitempty"` // id ID string `json:"id,omitempty"` // images Images []string `json:"images"` // options Options interface{} `json:"options,omitempty"` // user id UserID string `json:"user_id,omitempty"` }
HistoryItem history item
swagger:model HistoryItem
func (*HistoryItem) ContextValidate ¶ added in v1.0.1
ContextValidate validates this history item based on context it is used
func (*HistoryItem) MarshalBinary ¶ added in v1.0.1
func (m *HistoryItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HistoryItem) UnmarshalBinary ¶ added in v1.0.1
func (m *HistoryItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HistoryList ¶ added in v1.0.1
type HistoryList struct { // code Code int32 `json:"code"` // data Data *HistoryListData `json:"data"` // message Message string `json:"message,omitempty"` }
HistoryList history list
swagger:model HistoryList
func (*HistoryList) ContextValidate ¶ added in v1.0.1
ContextValidate validate this history list based on the context it is used
func (*HistoryList) MarshalBinary ¶ added in v1.0.1
func (m *HistoryList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HistoryList) UnmarshalBinary ¶ added in v1.0.1
func (m *HistoryList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HistoryListData ¶ added in v1.0.1
type HistoryListData struct { // history History []*HistoryItem `json:"history"` // page info PageInfo *PageInfoResponse `json:"page_info,omitempty"` }
HistoryListData history list data
swagger:model HistoryListData
func (*HistoryListData) ContextValidate ¶ added in v1.0.1
ContextValidate validate this history list data based on the context it is used
func (*HistoryListData) MarshalBinary ¶ added in v1.0.1
func (m *HistoryListData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HistoryListData) UnmarshalBinary ¶ added in v1.0.1
func (m *HistoryListData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HistoryQuery ¶ added in v1.0.1
type HistoryQuery struct { // command Command string `json:"command,omitempty"` }
HistoryQuery history query
swagger:model HistoryQuery
func (*HistoryQuery) ContextValidate ¶ added in v1.0.1
ContextValidate validates this history query based on context it is used
func (*HistoryQuery) MarshalBinary ¶ added in v1.0.1
func (m *HistoryQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HistoryQuery) UnmarshalBinary ¶ added in v1.0.1
func (m *HistoryQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PageInfoRequest ¶
type PageInfoRequest struct { // page Page int32 `json:"page,omitempty"` // page size PageSize int32 `json:"page_size,omitempty"` }
PageInfoRequest page info request
swagger:model PageInfoRequest
func (*PageInfoRequest) ContextValidate ¶
ContextValidate validates this page info request based on context it is used
func (*PageInfoRequest) MarshalBinary ¶
func (m *PageInfoRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PageInfoRequest) UnmarshalBinary ¶
func (m *PageInfoRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PageInfoResponse ¶
type PageInfoResponse struct { // page Page int32 `json:"page,omitempty"` // page size PageSize int32 `json:"page_size,omitempty"` // total Total int32 `json:"total,omitempty"` }
PageInfoResponse page info response
swagger:model PageInfoResponse
func (*PageInfoResponse) ContextValidate ¶
ContextValidate validates this page info response based on context it is used
func (*PageInfoResponse) MarshalBinary ¶
func (m *PageInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PageInfoResponse) UnmarshalBinary ¶
func (m *PageInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserInfo ¶
type UserInfo struct { // code Code int32 `json:"code"` // data Data *UserInfoData `json:"data"` // message Message string `json:"message,omitempty"` }
UserInfo user info
swagger:model UserInfo
func (*UserInfo) ContextValidate ¶
ContextValidate validate this user info based on the context it is used
func (*UserInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserInfoData ¶
type UserInfoData struct { // user User *UserItem `json:"user,omitempty"` }
UserInfoData user info data
swagger:model UserInfoData
func (*UserInfoData) ContextValidate ¶
ContextValidate validate this user info data based on the context it is used
func (*UserInfoData) MarshalBinary ¶
func (m *UserInfoData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserInfoData) UnmarshalBinary ¶
func (m *UserInfoData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserItem ¶
type UserItem struct { // avatar Avatar string `json:"avatar,omitempty"` // created Created string `json:"created,omitempty"` // enable Enable bool `json:"enable,omitempty"` // id ID string `json:"id,omitempty"` // roles Roles string `json:"roles,omitempty"` // stable config StableConfig interface{} `json:"stable_config,omitempty"` // username Username string `json:"username,omitempty"` }
UserItem user item
swagger:model UserItem
func (*UserItem) ContextValidate ¶
ContextValidate validates this user item based on context it is used
func (*UserItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserList ¶
type UserList struct { // code Code int32 `json:"code"` // data Data *UserListData `json:"data"` // message Message string `json:"message,omitempty"` }
UserList user list
swagger:model UserList
func (*UserList) ContextValidate ¶
ContextValidate validate this user list based on the context it is used
func (*UserList) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserListData ¶
type UserListData struct { // page info PageInfo *PageInfoResponse `json:"page_info,omitempty"` // users Users []*UserItem `json:"users"` }
UserListData user list data
swagger:model UserListData
func (*UserListData) ContextValidate ¶
ContextValidate validate this user list data based on the context it is used
func (*UserListData) MarshalBinary ¶
func (m *UserListData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserListData) UnmarshalBinary ¶
func (m *UserListData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserQuery ¶
type UserQuery struct { // enable Enable bool `json:"enable,omitempty"` // id ID string `json:"id,omitempty"` // username Username string `json:"username,omitempty"` }
UserQuery user query
swagger:model UserQuery
func (*UserQuery) ContextValidate ¶
ContextValidate validates this user query based on context it is used
func (*UserQuery) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserQuery) UnmarshalBinary ¶
UnmarshalBinary interface implementation