apiserver

package
v0.0.0-...-a39f72a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouter

func InitRouter() *gin.Engine

func NewApp

func NewApp()

NewApp defines a server app

Types

type JWTStrategy

type JWTStrategy struct {
	ginjwt.GinJWTMiddleware
}

func NewJWTStrategy

func NewJWTStrategy(gjwt ginjwt.GinJWTMiddleware) JWTStrategy

func (JWTStrategy) AuthFunc

func (j JWTStrategy) AuthFunc() gin.HandlerFunc

Directories

Path Synopsis
controller
Package options contains flags and options for initializing an apiserver
Package options contains flags and options for initializing an apiserver
service
v1
Package v1 can implement more conflex bussiness logic.
Package v1 can implement more conflex bussiness logic.
Package store is a generated GoMock package.
Package store is a generated GoMock package.

Jump to

Keyboard shortcuts

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