greeter

package
v0.0.0-...-808d7f4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Set is a Wire provider set that produces a *Server.

Functions

This section is empty.

Types

type Server

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

Server implements the gRPC Greeter service.

func NewServer

func NewServer(db *sql.DB) *Server

NewServer creates a new Greeter server.

func (*Server) HelloWorld

HelloWorld returns a "hello world" message.

func (*Server) Register

func (s *Server) Register(gs *grpc.Server)

Register implements rpc.ServiceImpl.

Jump to

Keyboard shortcuts

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