Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { base_clients.ResourceClient[model.Event] }
Client is the client for the event model. It is used to query the database for events, and extends model.ResourceClient.
func (*Client) AddExtraFilter ¶
AddExtraFilter adds an extra custom filter to the client.
func (*Client) Create ¶
func (client *Client) Create(id string, params *model.EventCreateParams) error
Create creates a new event in the database.
func (*Client) WithPagination ¶
WithPagination sets the pagination for the client.
Click to show internal directories.
Click to hide internal directories.