Documentation ¶
Index ¶
- Variables
- func AllowCORS(h http.Handler) http.Handler
- func HttpCache(h http.Handler) http.Handler
- func I18n(h http.Handler) http.Handler
- func I18nStreamClientInterceptor() grpc.StreamClientInterceptor
- func I18nStreamServerInterceptor() grpc.StreamServerInterceptor
- func I18nUnaryServerInterceptor() grpc.UnaryServerInterceptor
- func In18nUnaryClientInterceptor() grpc.UnaryClientInterceptor
- func MustGetLang(ctx context.Context) string
- func RouteLogger(h http.Handler) http.Handler
- func TracingIgnoreFn(ctx context.Context, fullMethodName string) bool
- func TracingWrapper(h http.Handler) http.Handler
- type HttpCacheBody
Constants ¶
This section is empty.
Variables ¶
View Source
var Etag string
Functions ¶
func I18nStreamClientInterceptor ¶ added in v0.0.7
func I18nStreamClientInterceptor() grpc.StreamClientInterceptor
func I18nStreamServerInterceptor ¶ added in v0.0.7
func I18nStreamServerInterceptor() grpc.StreamServerInterceptor
func I18nUnaryServerInterceptor ¶ added in v0.0.7
func I18nUnaryServerInterceptor() grpc.UnaryServerInterceptor
func In18nUnaryClientInterceptor ¶ added in v0.0.7
func In18nUnaryClientInterceptor() grpc.UnaryClientInterceptor
func MustGetLang ¶ added in v0.0.7
Types ¶
type HttpCacheBody ¶
type HttpCacheBody struct {
Etag string
}
Click to show internal directories.
Click to hide internal directories.