Documentation ¶
Index ¶
- func Attach(ctx context.Context, conn *websocket.Conn, r *http.Request, g *global.Global)
- func AuthAPI(h http.Handler, g *global.Global) http.Handler
- func Authorize(params auth.AuthorizeParams, g *global.Global) middleware.Responder
- func Enter(ctx context.Context, conn *websocket.Conn, r *http.Request, g *global.Global)
- func GetConfig(params config.GetConfigParams, g *global.Global) middleware.Responder
- func HandleWebsocket(ctx context.Context, f websocketHandlerFunc, r *http.Request, g *global.Global) middleware.Responder
- func ListCommands(params commands.ListCommandsParams, g *global.Global) middleware.Responder
- func ListSessions(params sessions.ListSessionsParams, g *global.Global) middleware.Responder
- func Logout(params auth.LogoutParams, g *global.Global) middleware.Responder
- func Ping(params ping.PingParams) middleware.Responder
- func ReplaySession(ctx context.Context, conn *websocket.Conn, r *http.Request, g *global.Global)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorize ¶
func Authorize(params auth.AuthorizeParams, g *global.Global) middleware.Responder
Authorize is the callback api in SSO
func GetConfig ¶
func GetConfig(params config.GetConfigParams, g *global.Global) middleware.Responder
GetConfig return the corresponding of entry
func HandleWebsocket ¶
func HandleWebsocket(ctx context.Context, f websocketHandlerFunc, r *http.Request, g *global.Global) middleware.Responder
HandleWebsocket handle websocket request
func ListCommands ¶
func ListCommands(params commands.ListCommandsParams, g *global.Global) middleware.Responder
ListCommands list commands in database
func ListSessions ¶
func ListSessions(params sessions.ListSessionsParams, g *global.Global) middleware.Responder
ListSessions list sessions in database
func Logout ¶
func Logout(params auth.LogoutParams, g *global.Global) middleware.Responder
Logout delete access_token in cookie
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.