v1

package
v0.0.0-...-58877a5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidate

func NewValidate() validate

func RunServer

func RunServer(srv Service, addr string) error

Types

type Repository

type Repository interface {
	Get(ctx context.Context, in *numv1.NumberServiceGetRequest) (int64, error)
}

func NewRepoManager

func NewRepoManager() Repository

type Service

type Service interface {
	numv1.NumberServiceServer
}

func NewService

func NewService(repo Repository, validator validate) Service

Jump to

Keyboard shortcuts

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