Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
Field string `json:"field,omitempty"`
Type FilterType `json:"type,omitempty"`
Value any `json:"value,omitempty"`
Values []any `json:"values,omitempty"`
}
type FilterType ¶
type FilterType int8
const ( FilterTypeEqual FilterType = iota FilterTypeNotEqual FilterTypeFuzzy FilterTypeIn FilterTypeNotIn FilterTypeIsNull FilterTypeIsNotNull FilterTypeRange FilterTypeRangeContainsBegin FilterTypeRangeContainsEnd FilterTypeOr )
func (FilterType) RangeType ¶
func (f FilterType) RangeType() RangeType
type List ¶
type List struct {
PaginationEmbedded
Filters Filters `json:"filters,omitempty"`
}
type OauthReq ¶
type OauthReq struct {
ResponseType string `json:"responseType,omitempty"`
ClientID string `json:"clientID,omitempty"`
Scope string `json:"scope,omitempty"`
RedirectURI string `json:"redirectURI,omitempty"`
State string `json:"state,omitempty"`
UserID string `json:"userID,omitempty"`
AccessTokenExp int64 `json:"accessTokenExp,omitempty"`
ClientSecret string `json:"clientSecret,omitempty"`
Code string `json:"code,omitempty"`
RefreshToken string `json:"refreshToken,omitempty"`
GrantType string `json:"grantType,omitempty"`
AccessType string `json:"accessType,omitempty"`
LoginURI string `json:"loginURI,omitempty"`
}
type Pagination ¶
type PaginationEmbedded ¶
type RangeType ¶
type RangeType int8
func (RangeType) ContainsBegin ¶
func (RangeType) ContainsEnd ¶
Click to show internal directories.
Click to hide internal directories.