interceptors

package
v0.0.0-...-bff9524 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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

func ValidateDeviceID(id string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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