utils

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogInterceptor added in v1.0.0

func LogInterceptor() grpc.UnaryServerInterceptor

LogInterceptor is a gRPC interceptor that logs the gRPC requests and responses. It also publishes metrics for the gRPC requests.

func ParseEndpoint

func ParseEndpoint(ep string) (string, string, error)

func RedactSecureString added in v1.1.0

func RedactSecureString(sensitiveString string) string

RedactSecureString applies regex to a sensitive string and return the redacted value

Types

This section is empty.

Jump to

Keyboard shortcuts

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