greeter

package
v0.0.0-...-77674a3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GreeterService

type GreeterService struct {
	greeterservice.UnimplementedGreeterServiceServer
	// contains filtered or unexported fields
}

func New

func New(jwtSecret string) *GreeterService

New returns a Service to be registered at a grpc.Server

func (*GreeterService) Hello

func (*GreeterService) Start

func (s *GreeterService) Start(bindAddress, jwtSecret string, certFile string, keyFile string)

Start embedded grpc server and register ourself

Jump to

Keyboard shortcuts

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