Documentation ¶
Index ¶
- Variables
- type AccessConfig
- type CommonResponse
- type RequestParams
- func (p *RequestParams) Limit() int
- func (p *RequestParams) Offset() int
- func (p *RequestParams) SetLimit(limit int)
- func (p *RequestParams) SetOffset(offset int)
- func (p *RequestParams) SetSortBy(sortBy string)
- func (p *RequestParams) SetSortDirection(direction string)
- func (p *RequestParams) SetToken(token string)
- func (p *RequestParams) SetUserID(userID string)
- func (p *RequestParams) SortBy() string
- func (p *RequestParams) SortDirection() string
- func (p *RequestParams) SortDirectionNum() int
- func (p *RequestParams) Token() string
- func (p *RequestParams) UserID() string
- type RequestQuery
- type TLSCertificate
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RequestParams ¶
type RequestParams struct {
// contains filtered or unexported fields
}
func (*RequestParams) Limit ¶
func (p *RequestParams) Limit() int
func (*RequestParams) Offset ¶
func (p *RequestParams) Offset() int
func (*RequestParams) SetLimit ¶
func (p *RequestParams) SetLimit(limit int)
func (*RequestParams) SetOffset ¶
func (p *RequestParams) SetOffset(offset int)
func (*RequestParams) SetSortBy ¶
func (p *RequestParams) SetSortBy(sortBy string)
func (*RequestParams) SetSortDirection ¶
func (p *RequestParams) SetSortDirection(direction string)
func (*RequestParams) SetToken ¶
func (p *RequestParams) SetToken(token string)
func (*RequestParams) SetUserID ¶
func (p *RequestParams) SetUserID(userID string)
func (*RequestParams) SortBy ¶
func (p *RequestParams) SortBy() string
func (*RequestParams) SortDirection ¶
func (p *RequestParams) SortDirection() string
func (*RequestParams) SortDirectionNum ¶
func (p *RequestParams) SortDirectionNum() int
func (*RequestParams) Token ¶
func (p *RequestParams) Token() string
func (*RequestParams) UserID ¶
func (p *RequestParams) UserID() string
type RequestQuery ¶
type RequestQuery map[string]interface{}
func NewRequestQuery ¶
func NewRequestQuery(i interface{}) (RequestQuery, error)
func (RequestQuery) ToBson ¶
func (q RequestQuery) ToBson() (m bson.M, err error)
func (RequestQuery) ToSql ¶
func (q RequestQuery) ToSql() (sqb.And, error)
Click to show internal directories.
Click to hide internal directories.