server

package
v0.0.0-...-d0cf9b8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeService

func InitializeService() error

InitializeService runs for the lifespan of the server instance

Types

type GrpcHandler

type GrpcHandler struct {
	S *grpc.Server
	// contains filtered or unexported fields
}

GrpcHandler keeps the gRPC Server reference

func (*GrpcHandler) Load

Load returns the CPU and memory load

func (*GrpcHandler) Shutdown

Shutdown stops the service process

func (*GrpcHandler) Startup

Startup is a no-op to start the service

type SocketHandler

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

SocketHandler has the http Server

Jump to

Keyboard shortcuts

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