Documentation
¶
Index ¶
- Constants
- func NewFollowStore(db *sql.DB) followStore
- func NewGrumbleStore(db *sql.DB) grumbleStore
- func NewSessionStore(db *sql.DB) sessionStore
- func NewUserStore(db *sql.DB) userStore
- type Server
- func (s *Server) Error(c *gin.Context, statusCode int, user *model.User, err error)
- func (s *Server) Fatal(err error)
- func (s *Server) Info(c *gin.Context, statusCode int, user *model.User, msg string)
- func (s *Server) RequestBodyLog(c *gin.Context)
- func (s *Server) Run() error
- func (s *Server) Warn(c *gin.Context, statusCode int, user *model.User, err error)
Constants ¶
View Source
const ( UserIdSearch = iota UserNameSearch )
View Source
const (
SESSION_TOKEN string = "grumbler_sesstoken"
)
Variables ¶
This section is empty.
Functions ¶
func NewFollowStore ¶
func NewGrumbleStore ¶
func NewSessionStore ¶
func NewUserStore ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.