Documentation ¶
Index ¶
- type DashboardKeyRepo
- func (repo *DashboardKeyRepo) Create(key *types.DashKey, tx *sql.Tx) error
- func (repo *DashboardKeyRepo) GetByDashId(id int) (types.DashKeys, error)
- func (repo *DashboardKeyRepo) GetById(id int) (*types.DashKey, error)
- func (repo *DashboardKeyRepo) GetByIds(ids []int) (types.DashKeys, error)
- func (repo *DashboardKeyRepo) GetByPub(pub string) (*types.DashKey, error)
- func (repo *DashboardKeyRepo) GetByPubCached(pub string) (*types.DashKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardKeyRepo ¶
type DashboardKeyRepo struct {
// contains filtered or unexported fields
}
func NewDashboardKeyRepo ¶
func NewDashboardKeyRepo() *DashboardKeyRepo
func (*DashboardKeyRepo) GetByDashId ¶
func (repo *DashboardKeyRepo) GetByDashId(id int) (types.DashKeys, error)
func (*DashboardKeyRepo) GetById ¶
func (repo *DashboardKeyRepo) GetById(id int) (*types.DashKey, error)
func (*DashboardKeyRepo) GetByIds ¶ added in v1.20.18
func (repo *DashboardKeyRepo) GetByIds(ids []int) (types.DashKeys, error)
func (*DashboardKeyRepo) GetByPub ¶
func (repo *DashboardKeyRepo) GetByPub(pub string) (*types.DashKey, error)
func (*DashboardKeyRepo) GetByPubCached ¶
func (repo *DashboardKeyRepo) GetByPubCached(pub string) (*types.DashKey, error)
Click to show internal directories.
Click to hide internal directories.