Documentation ¶
Index ¶
- func HandleI18n(acceptLangs acceptlang.AcceptLanguages) *i18n.Localizer
- func MustLocalizer(ctx context.Context) *i18n.Localizer
- func SetBundle(b *i18n.Bundle)
- func SetDefaultLanguage(lang string)
- func UnaryServerInterceptor(origctx context.Context, origreq interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleI18n ¶
func HandleI18n(acceptLangs acceptlang.AcceptLanguages) *i18n.Localizer
func SetDefaultLanguage ¶
func SetDefaultLanguage(lang string)
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(origctx context.Context, origreq interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.