Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDBHandler ¶
Types ¶
type AuthResource ¶
type AuthResource struct { Dbh *sqlx.DB PrvKey []byte }
func (*AuthResource) CreateSession ¶
func (ar *AuthResource) CreateSession(c *gin.Context)
func (*AuthResource) CreateUser ¶
func (ar *AuthResource) CreateUser(c *gin.Context)
type AuthService ¶
type AuthService struct{}
func (*AuthService) GetHttpHandler ¶
func (s *AuthService) GetHttpHandler(conf Config) (http.Handler, error)
Click to show internal directories.
Click to hide internal directories.