Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyProduct = "prd" KeyPackage = "pkg" KeyVersion = "ver" KeyOSVersion = "os" KeyBrand = "brand" KeyModel = "model" KeyDeviceID = "udid" KeyFingerprint = "fp" KeyLocale = "loc" KeyLatitude = "lat" KeyLongitude = "lon" KeyPlatform = "plf" KeyNetwork = "net" KeyTimestamp = "time" KeyTraceID = "sn" KeyIsEmulator = "emulator" KeyIsDevelop = "dev" KeyIsTesting = "test" KeyChannel = "channel" KeyUUID = "uuid" KeyIMEI = "imei" KeyDeviceMac = "mac" KeyUserAgent = "ua" KeyToken = "token" KeyIANAUserAgent = "user-agent" KeyOriginalIP = "x-forwarded-for" )
Variables ¶
View Source
var ( EnvDevelop = os.Getenv("DEVELOPMENT") EnvTesting = os.Getenv("TESTING") )
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor for parsing request metadata.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor for parsing request metadata.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.