dashkey

package
v1.21.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) Create

func (repo *DashboardKeyRepo) Create(key *types.DashKey, tx *sql.Tx) error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL