app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRoutes

func InitRoutes(config config.Config) *mux.Router

InitRoutes to start up a mux router and return the routes

Types

type SolonHandler

type SolonHandler struct {
	Config *config.Config
}

func (*SolonHandler) CreateOneTimeToken

func (s *SolonHandler) CreateOneTimeToken(w http.ResponseWriter, req *http.Request)

func (*SolonHandler) Health

func (s *SolonHandler) Health(w http.ResponseWriter, req *http.Request)

func (*SolonHandler) PingPong

func (s *SolonHandler) PingPong(w http.ResponseWriter, req *http.Request)

PingPong pongs the ping

func (*SolonHandler) RegisterService

func (s *SolonHandler) RegisterService(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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