server

package
v0.0.0-...-4513a83 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHandler

func NewAuthHandler(svc lib.LoginService) api.Handler

func NewController

func NewController(handlers []api.Handler) api.Controller

Types

type Instance

type Instance interface {
	Run()
	Register(i any)
	RegisterAll(i []any)
}

func NewLambdaAPI

func NewLambdaAPI() Instance

type LambdaAPI

type LambdaAPI struct {
	// contains filtered or unexported fields
}

func (*LambdaAPI) Register

func (s *LambdaAPI) Register(i any)

func (*LambdaAPI) RegisterAll

func (s *LambdaAPI) RegisterAll(i []any)

func (*LambdaAPI) Run

func (s *LambdaAPI) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳