web

package
v0.0.0-...-ccb0926 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCHandler

type GRPCHandler struct {
	Port       string
	Logger     log.Logger
	GRPCServer *grpc.Server
	// contains filtered or unexported fields
}

GRPCHandler is holding the cache and GRPC configuration

func NewGRPCHandler

func NewGRPCHandler(port string, logger log.Logger, cache *cache.Cache) *GRPCHandler

NewGRPCHandler creates and returns an instance of GRPCHandler

func (*GRPCHandler) Run

func (h *GRPCHandler) Run() error

Run starts the slave GRPC server

func (*GRPCHandler) Stop

func (h *GRPCHandler) Stop()

Stop stops the slave GRPC server

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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