lbsidecar

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 21 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 {
	// contains filtered or unexported fields
}

Server is a struct that contains the variables necessary to handle the necessary routes of the rest API

func Init

func Init() *Server

Init - initializes a new configured server

func (*Server) GetChannelMetric added in v0.1.4

func (s *Server) GetChannelMetric(channel string) channelMetric

func (*Server) GetRouteHandlerMetric added in v0.1.4

func (s *Server) GetRouteHandlerMetric(route string) routeMetric

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the server on the port given in addr

Jump to

Keyboard shortcuts

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