boltstore

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ChallengeBucketID = "challenges"

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New(filename string) (*Store, error)

"rallybot.db"

func (*Store) Close

func (s *Store) Close() error

func (*Store) DeleteChallenge

func (s *Store) DeleteChallenge(challengeID string) error

func (*Store) GetChallenge

func (s *Store) GetChallenge(challengeID string) (challenge.Model, error)

func (*Store) PutChallenge

func (s *Store) PutChallenge(challengeID string, challenge challenge.Model) error

func (*Store) RegisterCompletion

func (s *Store) RegisterCompletion(challengeID string, completion challenge.Completion) error

Directories

Path Synopsis
internal
dto

Jump to

Keyboard shortcuts

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