server

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 23 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 holds server info

func New

func New(ctx context.Context) (*Server, error)

New constructs new server

func (*Server) ServeGRPC

func (s *Server) ServeGRPC()

ServeGRPC starts grpc server process

func (*Server) ServeMetrics

func (s *Server) ServeMetrics()

ServeMetrics provides a prometheus endpoint for exposing metrics

Jump to

Keyboard shortcuts

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