grpc

package
v0.0.0-...-53b0f00 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 7 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 {
	GRPCPort string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(container *service.Container) *Server

func (*Server) Operation

func (s *Server) Operation(ctx context.Context, req *calc.MyRequest) (*calc.MyResponse, error)

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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