package
2.7.1
Repository: https://github.com/baaldev/pitaya.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConvertProtoToMessageType converts a protos.MsgType to a message.Type.
CtxWithDefaultLogger inserts a default logger on ctx to be used on handlers and remotes.
FileExists tells if a file exists.
GetContextFromRequest gets the context from a request.
GetErrorFromPayload gets the error from payload.
GetErrorPayload creates and serializes an error payload.
Pcall calls a method that returns an interface and an error and recovers in case of panic.
SerializeOrRaw serializes the interface if its not an array of bytes already.
SliceContainsString returns true if a slice contains the string.
StartSpanFromRequest starts a tracing span from the request.