Documentation
¶
Index ¶
- func CreateInitialUser(cfg *config.LancerConfig, query *db.Queries)
- func CreateOrGetInitialMetrics(cfg *config.LancerConfig, query *db.Queries)
- type Repo
- func (r *Repo) CreateSession(session *types.SessionInfo) (*types.SessionInfo, error)
- func (r *Repo) DeleteSession(id string) error
- func (r *Repo) GetSessionById(id string) (*types.SessionInfo, error)
- func (r *Repo) GetSessions(params *db.PaginateSessionsParams) []*types.SessionInfo
- func (r *Repo) UpdateSessionById(id string, session *types.SessionInfo) error
- type SessionCreateAck
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInitialUser ¶
func CreateInitialUser(cfg *config.LancerConfig, query *db.Queries)
func CreateOrGetInitialMetrics ¶
func CreateOrGetInitialMetrics(cfg *config.LancerConfig, query *db.Queries)
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) CreateSession ¶
func (r *Repo) CreateSession(session *types.SessionInfo) (*types.SessionInfo, error)
func (*Repo) DeleteSession ¶
func (*Repo) GetSessionById ¶
func (r *Repo) GetSessionById(id string) (*types.SessionInfo, error)
func (*Repo) GetSessions ¶
func (r *Repo) GetSessions(params *db.PaginateSessionsParams) []*types.SessionInfo
func (*Repo) UpdateSessionById ¶
func (r *Repo) UpdateSessionById(id string, session *types.SessionInfo) error
type SessionCreateAck ¶
Click to show internal directories.
Click to hide internal directories.