Versions in this module Expand all Collapse all v2 v2.7.1 Jan 15, 2024 v2.7.0 Jan 12, 2024 Changes in this version + func ConvertProtoToMessageType(protoMsgType protos.MsgType) message.Type + func CtxWithDefaultLogger(ctx context.Context, route, userID string) context.Context + func FileExists(filename string) bool + func GetContextFromRequest(req *protos.Request, serverID string) (context.Context, error) + func GetErrorFromPayload(serializer serialize.Serializer, payload []byte) error + func GetErrorPayload(serializer serialize.Serializer, err error) ([]byte, error) + func Pcall(method reflect.Method, args []reflect.Value) (rets interface{}, err error) + func SerializeOrRaw(serializer serialize.Serializer, v interface{}) ([]byte, error) + func SliceContainsString(slice []string, str string) bool + func StartSpanFromRequest(ctx context.Context, serverID, route string) context.Context