Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcLoggerInterceptor ¶
func GrpcLoggerInterceptor(log *logger.ZapEventLogger) grpc.UnaryServerInterceptor
GrpcLoggerInterceptor logs any error produced by processing requests, and catches/recovers from panics.
func SetupInstrumentation ¶
SetupInstrumentation starts a metrics endpoint.
func StringifyAddr ¶
func StringifyAddr(addr address.Address) string
StringifyAddr stringifies an address.Address into a mainnet-prefixed string. address.String() always returns as if the address is for testnet. We force replacing it to be mainnet.
func StringifyAddrs ¶
func StringifyAddrs(addrs ...address.Address) []string
StringifyAddrs stringifies a slice of address.Address into mainnet-prefixed strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.