grpc

package
v0.0.0-...-82045e5 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrServerStopped = grpc.ErrServerStopped

Functions

This section is empty.

Types

type ServiceOption

type ServiceOption func(*TicTacToeService)

ServiceOption

func WithLogger

func WithLogger(logger *zap.Logger) ServiceOption

WithLogger

type TicTacToeService

type TicTacToeService struct {
	tictactoepb.UnimplementedTicTacToeServer
	// contains filtered or unexported fields
}

TicTacToeService

func NewTicTacToeService

func NewTicTacToeService(opts ...ServiceOption) *TicTacToeService

NewTicTacToeService

func (*TicTacToeService) Serve

func (s *TicTacToeService) Serve(ctx context.Context, ls net.Listener) error

Serve

Jump to

Keyboard shortcuts

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