grpc

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 10 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{}

func New

func New(s *service.Service) (server *Server)

func (*Server) Ping

func (s *Server) Ping(ctx context.Context, q *api.Request) (r *api.Reply, e error)

example for grpc request handler.

type ServerConfig

type ServerConfig struct {
	Addr string `yaml:"addr"`
}

Jump to

Keyboard shortcuts

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