Documentation ¶
Index ¶
- type Session
- func (session *Session) PuzzleCreate(p *model.Puzzle) (id string, err error)
- func (session *Session) PuzzleGetById(id string) (p model.Puzzle, err error)
- func (session *Session) RandString(n int) string
- func (session *Session) SolutionCreate(s *model.Solution) (id string, err error)
- func (session *Session) SolutionFind() (ids []model.SolutionMetadata, err error)
- func (session *Session) SolutionGetById(id string) (s model.Solution, err error)
- func (session *Session) SolutionUpdate(s model.Solution) (out model.Solution, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func (*Session) PuzzleCreate ¶
func (*Session) PuzzleGetById ¶
func (*Session) RandString ¶
func (*Session) SolutionCreate ¶
func (*Session) SolutionFind ¶
func (session *Session) SolutionFind() (ids []model.SolutionMetadata, err error)
func (*Session) SolutionGetById ¶
Click to show internal directories.
Click to hide internal directories.