Documentation
¶
Index ¶
- func CaosToGRPCError(err error, ctx context.Context, translator *i18n.Translator) error
- func Extract(err error) (c codes.Code, msg, id string, ok bool)
- func GetAuthorizationHeader(ctx context.Context) string
- func GetHeader(ctx context.Context, headername string) string
- type Config
- type GatewayConfig
- type ServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaosToGRPCError ¶
func GetAuthorizationHeader ¶
Types ¶
type Config ¶
func (Config) ToGatewayConfig ¶
func (c Config) ToGatewayConfig() GatewayConfig
func (Config) ToServerConfig ¶
func (c Config) ToServerConfig() ServerConfig
type GatewayConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Port string
}
Click to show internal directories.
Click to hide internal directories.