port

package
v0.0.0-...-128b944 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WordsGrpcServiceServer

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

WordsGrpcServiceServer is an implementation of WordsServiceServer interface.

func NewWordsGrpcServiceServer

func NewWordsGrpcServiceServer(
	repo domain.WordRepository,
	searchRepo domain.WordSearchRepository,
	cache *cache.Cache,
	meter metric.Meter,
	logger *logger.Logger,
) (*WordsGrpcServiceServer, error)

NewWordsGrpcServiceServer creates a new WordsGrpcServiceServer.

func (*WordsGrpcServiceServer) AddWord

AddWord implements words.WordsServiceServer.

func (*WordsGrpcServiceServer) RandomWord

RandomWord implements words.WordsServiceServer.

func (*WordsGrpcServiceServer) SearchWord

SearchWord implements words.WordsServiceServer.

Jump to

Keyboard shortcuts

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