i18n

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleI18n

func HandleI18n(acceptLangs acceptlang.AcceptLanguages) *i18n.Localizer

func MustLocalizer added in v1.0.2

func MustLocalizer(ctx context.Context) *i18n.Localizer

func SetBundle added in v1.0.2

func SetBundle(b *i18n.Bundle)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL