Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthInterceptor ¶
func AuthInterceptor(auth *auth.Service) grpc.UnaryServerInterceptor
func IDValidationInterceptor ¶
func IDValidationInterceptor(validationFn func(id string) bool) grpc.UnaryServerInterceptor
IDValidationInterceptor returns an interceptor which will validate the id of the device.
func ValidateDeviceID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.