orasrv

package
v0.27.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 24 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 FromContext added in v0.26.0

func FromContext(ctx context.Context) *slog.Logger

func GRPCServer

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

func NewT added in v0.26.0

func NewT(t *testing.T) *slog.Logger

func NewULID

func NewULID() string

func StatusError

func StatusError(err error) error

func WithContext added in v0.26.0

func WithContext(ctx context.Context, logger *slog.Logger) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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