api

package
v0.0.0-...-b60b57f Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	HTTPListenPort int

	Router chi.Router
	// contains filtered or unexported fields
}

func NewServer

func NewServer(logger *zap.Logger, config config.HTTP, serviceName string, metrics config.Metrics) *Server

func (*Server) InitializeHealth

func (s *Server) InitializeHealth(config config.HealthCheck)

func (*Server) InitializeMetrics

func (s *Server) InitializeMetrics(config config.Metrics)

func (*Server) InjectProfiling

func (s *Server) InjectProfiling()

func (*Server) Run

func (s *Server) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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