Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumContextHandler ¶
type AlbumContextHandler struct {
// contains filtered or unexported fields
}
func CreateAlbumContextHandler ¶
func CreateAlbumContextHandler(logger *zap.Logger, albumTable *db.CouchTable) *AlbumContextHandler
func (*AlbumContextHandler) Middleware ¶
func (albumCtx *AlbumContextHandler) Middleware(next http.Handler) http.Handler
type AuthClaims ¶
type AuthClaims struct { Id string `json:"id"` jwt.RegisteredClaims }
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func CreateAuthHandler ¶
func CreateAuthHandler(logger *zap.Logger, userTable *db.CouchTable) *AuthHandler
func (*AuthHandler) Middleware ¶
func (auth *AuthHandler) Middleware(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.