Documentation ¶
Index ¶
- type PositionJsonResult
- func (result *PositionJsonResult) Fail() *PositionJsonResult
- func (result *PositionJsonResult) FailCodeMsg(code int32, msg string) *PositionJsonResult
- func (result *PositionJsonResult) FailMessage(msg string) *PositionJsonResult
- func (result *PositionJsonResult) String() string
- func (result *PositionJsonResult) Success() *PositionJsonResult
- func (result *PositionJsonResult) SuccessData(data model.Position) *PositionJsonResult
- func (result *PositionJsonResult) SuccessMessage(msg string) *PositionJsonResult
- func (result *PositionJsonResult) ToString() string
- type PositionPageResult
- func (result *PositionPageResult) Fail() *PositionPageResult
- func (result *PositionPageResult) FailCodeMsg(code int32, msg string) *PositionPageResult
- func (result *PositionPageResult) FailMessage(msg string) *PositionPageResult
- func (result *PositionPageResult) GetData() []model.Position
- func (result *PositionPageResult) SetData(s []model.Position)
- func (result *PositionPageResult) String() string
- func (result *PositionPageResult) Success() *PositionPageResult
- func (result *PositionPageResult) SuccessData(data []model.Position) *PositionPageResult
- func (result *PositionPageResult) SuccessMessage(msg string) *PositionPageResult
- func (result *PositionPageResult) ToString() string
- type PositionParam
- type PositionQueryParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PositionJsonResult ¶
type PositionJsonResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Data *model.Position `json:"data"` }
func (*PositionJsonResult) Fail ¶
func (result *PositionJsonResult) Fail() *PositionJsonResult
func (*PositionJsonResult) FailCodeMsg ¶
func (result *PositionJsonResult) FailCodeMsg(code int32, msg string) *PositionJsonResult
func (*PositionJsonResult) FailMessage ¶
func (result *PositionJsonResult) FailMessage(msg string) *PositionJsonResult
func (*PositionJsonResult) String ¶
func (result *PositionJsonResult) String() string
func (*PositionJsonResult) Success ¶
func (result *PositionJsonResult) Success() *PositionJsonResult
func (*PositionJsonResult) SuccessData ¶
func (result *PositionJsonResult) SuccessData(data model.Position) *PositionJsonResult
func (*PositionJsonResult) SuccessMessage ¶
func (result *PositionJsonResult) SuccessMessage(msg string) *PositionJsonResult
func (*PositionJsonResult) ToString ¶
func (result *PositionJsonResult) ToString() string
type PositionPageResult ¶
type PositionPageResult struct { Code int32 `json:"code"` Msg string `json:"msg"` Page basedto.PageParam `json:"page"` Data []model.Position `json:"data"` }
func (*PositionPageResult) Fail ¶
func (result *PositionPageResult) Fail() *PositionPageResult
func (*PositionPageResult) FailCodeMsg ¶
func (result *PositionPageResult) FailCodeMsg(code int32, msg string) *PositionPageResult
func (*PositionPageResult) FailMessage ¶
func (result *PositionPageResult) FailMessage(msg string) *PositionPageResult
func (*PositionPageResult) GetData ¶
func (result *PositionPageResult) GetData() []model.Position
func (*PositionPageResult) SetData ¶
func (result *PositionPageResult) SetData(s []model.Position)
func (*PositionPageResult) String ¶
func (result *PositionPageResult) String() string
func (*PositionPageResult) Success ¶
func (result *PositionPageResult) Success() *PositionPageResult
func (*PositionPageResult) SuccessData ¶
func (result *PositionPageResult) SuccessData(data []model.Position) *PositionPageResult
func (*PositionPageResult) SuccessMessage ¶
func (result *PositionPageResult) SuccessMessage(msg string) *PositionPageResult
func (*PositionPageResult) ToString ¶
func (result *PositionPageResult) ToString() string
type PositionParam ¶
type PositionQueryParam ¶
type PositionQueryParam struct { Current int32 `json:"current"` PageSize int32 `json:"page_size"` OrderBys string `json:"order_bys"` FuzzyQuery bool `json:"fuzzy_query"` EsQuery bool `json:"es_query"` Param *PositionParam `json:"param"` }
func (*PositionQueryParam) Ini ¶
func (param *PositionQueryParam) Ini()
func (*PositionQueryParam) String ¶
func (param *PositionQueryParam) String() string
func (*PositionQueryParam) ToString ¶
func (param *PositionQueryParam) ToString() string
Click to show internal directories.
Click to hide internal directories.