search

package
v0.0.0-...-55d7ca3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewRoutes

func NewRoutes(params routesParams) *mux.Router

Types

type Handlers

type Handlers interface {
	Ping(rw http.ResponseWriter, r *http.Request)
	Info(rw http.ResponseWriter, r *http.Request)
}

func NewHandlers

func NewHandlers(params handlersParams) Handlers

type HandlersImpl

type HandlersImpl struct {
	Logger *logging.ZapEventLogger
	Name   server.Name
}

func (*HandlersImpl) Info

func (h *HandlersImpl) Info(rw http.ResponseWriter, r *http.Request)

func (*HandlersImpl) Ping

func (h *HandlersImpl) Ping(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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