rest

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebApiContext

type WebApiContext struct {
	DataProvider   *managers.DataContext
	Security       *services.SecurityService
	TokenGenerator *services.JwtGenerator
}

func (*WebApiContext) GetUserInfo

func (wCtx *WebApiContext) GetUserInfo(respWriter http.ResponseWriter, request *http.Request)

func (*WebApiContext) IssueNewToken

func (wCtx *WebApiContext) IssueNewToken(respWriter http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL