Documentation ¶
Overview ¶
Package permitdb contains permit related CRUD functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationDB ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages the set of APIs for permit database access.
func (*Store) Create ¶
func (s *Store) Create(ctx context.Context, aplDB ApplicationDB) error
Create adds an application to the database.
func (*Store) Query ¶
func (s *Store) Query(ctx context.Context) ([]ApplicationDB, error)
Query gets all applications from the database.
Click to show internal directories.
Click to hide internal directories.