server

package
v0.0.0-...-da17191 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GRPCListenAddr string
	HTTPListenAddr string
}

Config is the server configuration

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server takes care of instantiating and running service and other dependencies.

func New

func New(c Config) *Server

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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