Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_PAGE_SIZE = 1000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
ID string
APIKey string
APISecret string
IP string
Client string
Body Body
Context context.Context
Cancel context.CancelFunc
}
func (*Request) VerifyHeaders ¶
type StandardList ¶
type StandardList struct {
Limit int `json:"limit"`
Offset int `json:"offset"`
DateFilters []postgres.DateFilter `json:"date_filters"` // TODO: Make this a DateFilter interface
}
func (*StandardList) ParseDatesToUnix ¶
func (r *StandardList) ParseDatesToUnix(validDBColumns []string) error
func (*StandardList) Validate ¶
func (r *StandardList) Validate() error
Click to show internal directories.
Click to hide internal directories.