Documentation ¶
Index ¶
- Constants
- func GetLoginChal(w http.ResponseWriter, r *http.Request)
- func Image(w http.ResponseWriter, r *http.Request)
- func LoginCheckKey(w http.ResponseWriter, r *http.Request)
- func LoginWhitChal(w http.ResponseWriter, r *http.Request)
- func Register(w http.ResponseWriter, r *http.Request)
- func Upload(w http.ResponseWriter, r *http.Request)
- func WalletMiddleware(next http.HandlerFunc) http.HandlerFunc
- type LoginKeyBody
- type UserKeyBody
Constants ¶
View Source
const (
CONTEXT_USER_OBJECT_KEY key = 0
)
View Source
const (
JWT_COOKIE_EXPIRATION = 24 * time.Hour
)
Variables ¶
This section is empty.
Functions ¶
func GetLoginChal ¶
func GetLoginChal(w http.ResponseWriter, r *http.Request)
func LoginCheckKey ¶
func LoginCheckKey(w http.ResponseWriter, r *http.Request)
func LoginWhitChal ¶
func LoginWhitChal(w http.ResponseWriter, r *http.Request)
func WalletMiddleware ¶
func WalletMiddleware(next http.HandlerFunc) http.HandlerFunc
Types ¶
type LoginKeyBody ¶
type UserKeyBody ¶
Click to show internal directories.
Click to hide internal directories.