Documentation ¶
Index ¶
- type Dao
- func (d *Dao) CreateApplication(ctx context.Context, app model.Application) (*model.Application, error)
- func (d *Dao) DeleteApplication(ctx context.Context, id string) (bool, error)
- func (d *Dao) GetApplications(ctx context.Context, p model.PageRequest, sel model.Filer) (*model.ApplicationPage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
func NewApplicationDao ¶
func (*Dao) CreateApplication ¶
func (d *Dao) CreateApplication(ctx context.Context, app model.Application) (*model.Application, error)
func (*Dao) DeleteApplication ¶
func (*Dao) GetApplications ¶
func (d *Dao) GetApplications(ctx context.Context, p model.PageRequest, sel model.Filer) (*model.ApplicationPage, error)
Click to show internal directories.
Click to hide internal directories.