package
0.0.0-20221031024503-f27324fd241b
Repository: https://github.com/xiaomi/naftis.git
Documentation: pkg.go.dev

# Functions

Home returns home path.
Kubeconfig returns kube config path.
User returns current login user.

# Constants

JWTSecret defines default JWT secret.

# Variables

Authentication authenticates incoming request.
BindFailFn defines function that handle payload-binding failure.
ErrJWTUnauthorized is returned when the token isn't authorized.
OpFailFn defines function that handle internal error.
RetOK defines JSON response of successful HTTP response.