Documentation ¶
Index ¶
- func NewGetAllHttpHandler(db *psql.Store, c figmentclient.Client) *getAllHttpHandler
- func NewGetAllUseCase(db *psql.Store) *getAllUseCase
- func NewGetForAddressHttpHandler(db *psql.Store, c figmentclient.Client) *getForAddressHttpHandler
- func NewGetForAddressUseCase(db *psql.Store) *getForAddressUseCase
- type GetAllRequest
- type GetForAddressRequest
- type ListItem
- type ListView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetAllHttpHandler ¶ added in v0.2.0
func NewGetAllHttpHandler(db *psql.Store, c figmentclient.Client) *getAllHttpHandler
func NewGetAllUseCase ¶ added in v0.2.0
func NewGetForAddressHttpHandler ¶
func NewGetForAddressHttpHandler(db *psql.Store, c figmentclient.Client) *getForAddressHttpHandler
func NewGetForAddressUseCase ¶
Types ¶
type GetAllRequest ¶ added in v0.2.0
type GetForAddressRequest ¶
type GetForAddressRequest struct { Address string `uri:"address" binding:"required"` After *int64 `form:"after" binding:"-"` Kind *model.SystemEventKind `form:"kind" binding:"-"` }
type ListView ¶
type ListView struct {
Items []ListItem `json:"items"`
}
func ToListView ¶
func ToListView(validators []model.SystemEvent) *ListView
Click to show internal directories.
Click to hide internal directories.