Documentation ¶
Overview ¶
Package dao provides data abstraction objects and database connection functions for the jellytest test server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Templates ¶
type Templates interface { Create(context.Context, Template) (Template, error) Get(context.Context, uuid.UUID) (Template, error) GetAll(context.Context) ([]Template, error) Update(context.Context, uuid.UUID, Template) (Template, error) Delete(context.Context, uuid.UUID) (Template, error) GetRandom(context.Context) (Template, error) Close() error }
TODO: this has nothing to do with jelly/dao's Repos. Should that be updated to be specific to jellyauth and moved out of general DAO?
Click to show internal directories.
Click to hide internal directories.