Documentation ¶
Index ¶
- func Account_ID(sess *dbr.Session, account string) (int, error)
- func Disconnect(db *DB) error
- func HttpRequestAuth(req *http.Request, w http.ResponseWriter, keys *jwt.JWTKeys, ...) error
- func IsLogin(sess *dbr.Session, account string, password string) error
- func Plan_Answer(sess *dbr.Session, key string) (int, error)
- func Plan_Answer_Update(db *dbr.Connection, key string, count int) error
- func Plan_Insert(id int, key string, db *dbr.Connection) error
- func Plan_Key(sess *dbr.Session, id int) ([]string, error)
- type DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func HttpRequestAuth ¶
func HttpRequestAuth(req *http.Request, w http.ResponseWriter, keys *jwt.JWTKeys, conf config.Connect_data) error
HttpRequestAuth HTTPリクエストに必ず必要な認証
func Plan_Answer_Update ¶
func Plan_Answer_Update(db *dbr.Connection, key string, count int) error
func Plan_Insert ¶
func Plan_Insert(id int, key string, db *dbr.Connection) error
Types ¶
Click to show internal directories.
Click to hide internal directories.