orasrv

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout = time.Hour
)
View Source
const Name = "proto"

Name is the name registered for the proto compressor.

Variables

View Source
var (
	Timeout = DefaultTimeout
)

Functions

func ContextGetReqID

func ContextGetReqID(ctx context.Context) string

func ContextWithReqID

func ContextWithReqID(ctx context.Context, reqID string) context.Context

func GRPCServer

func GRPCServer(globalCtx context.Context, logger logr.Logger, verbose bool, checkAuth func(ctx context.Context, path string) error, options ...grpc.ServerOption) *grpc.Server

func NewULID

func NewULID() string

func StatusError

func StatusError(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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