server

package
v0.0.0-...-befe94a Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

func NewGRPCServer(
	cfg *config.Config,
	logger *zap.Logger,
	clk clock.Clock,
	mdb client.MongoDBClient,
) (*grpc.Server, error)

Types

type RandomDiceServer

type RandomDiceServer struct {
	randomdicev1.UnimplementedUserServiceServer
	randomdicev1.UnimplementedRoomServiceServer
	// contains filtered or unexported fields
}

func NewRandomDiceServer

func NewRandomDiceServer(
	cfg *config.Config,
	clk clock.Clock,
	mdb client.MongoDBClient,
) (*RandomDiceServer, error)

func (*RandomDiceServer) CreateUser

func (*RandomDiceServer) DeleteUser

func (*RandomDiceServer) GetUser

func (*RandomDiceServer) ListUsers

func (*RandomDiceServer) UpdateUser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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