Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GatewayMiddleware ¶ added in v0.0.2
func MustConnect ¶
func MustConnect(host string) grpc.ClientConnInterface
Types ¶
type CustomError ¶ added in v0.0.2
type CustomError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Toast *string `protobuf:"bytes,2,opt,name=toast,proto3,oneof" json:"toast,omitempty"` // E Code Code *string `protobuf:"bytes,3,opt,name=code,proto3,oneof" json:"code,omitempty"` Error *string `protobuf:"bytes,4,opt,name=error,proto3,oneof" json:"error,omitempty"` Data *structpb.Value `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
type ServerConfig ¶
type ServerConfig struct{}
type ServerConfigBuilder ¶
type ServerConfigBuilder func(*ServerConfig)
Click to show internal directories.
Click to hide internal directories.