service

package
v0.0.0-...-9a5b211 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Registry = map[string]Service{}

Functions

func CodeFromHTTPStatus

func CodeFromHTTPStatus(status int) codes.Code

Types

type Factory

type Factory map[string]func(*anypb.Any, *zap.Logger, tally.Scope) (Service, error)

type Service

type Service interface{}

Directories

Path Synopsis
The interfaces are here to make the callers of these API's testable, giving us the ability to mock them.
The interfaces are here to make the callers of these API's testable, giving us the ability to mock them.
db

Jump to

Keyboard shortcuts

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