daos

package
v0.0.0-...-454992d Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewIssue

func CreateNewIssue(sessionID string) error

func CreateNewSession

func CreateNewSession() (models.Session, error)

func GetDefaultIssue

func GetDefaultIssue() models.Issue

func GetDefaultSession

func GetDefaultSession() models.Session

creates empty session

func GetSession

func GetSession(sessionID string) (models.Session, error)

gets a session from the database

func SaveSession

func SaveSession(sessionID string, session models.Session) error

func UpdateSession

func UpdateSession(sessionID string, newData models.Session) error

if adminID is correct, update session

func UpdateUserEstimation

func UpdateUserEstimation(e models.UserMessageEstimation) error

updates

Types

This section is empty.

Jump to

Keyboard shortcuts

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