Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationInterceptor ¶
type AuthenticationInterceptor struct { HMACSecret string // contains filtered or unexported fields }
func NewAuthenticationInterceptor ¶
func NewAuthenticationInterceptor(logger *zap.Logger, hmacSecret string, deviceRepository repository.IDeviceRepository) AuthenticationInterceptor
func (AuthenticationInterceptor) Authentication ¶
func (i AuthenticationInterceptor) Authentication() grpc.UnaryServerInterceptor
func (AuthenticationInterceptor) AuthenticationStream ¶
func (i AuthenticationInterceptor) AuthenticationStream() grpc.StreamServerInterceptor
type AuthorizationInterceptor ¶
type AuthorizationInterceptor struct {
// contains filtered or unexported fields
}
func NewAuthorizationInterceptor ¶
func NewAuthorizationInterceptor( logger *zap.Logger, deviceRepository repository.IDeviceRepository, clientRepository repository.IClientRepository, ) AuthorizationInterceptor
func (AuthorizationInterceptor) Authorization ¶
func (i AuthorizationInterceptor) Authorization() grpc.UnaryServerInterceptor
func (AuthorizationInterceptor) AuthorizationStream ¶
func (i AuthorizationInterceptor) AuthorizationStream() grpc.StreamServerInterceptor
type LoggingInterceptor ¶
type LoggingInterceptor struct {
// contains filtered or unexported fields
}
func NewLoggingInterceptor ¶
func NewLoggingInterceptor(logger *zap.Logger) LoggingInterceptor
func (LoggingInterceptor) Logger ¶
func (i LoggingInterceptor) Logger() logging.Logger
Click to show internal directories.
Click to hide internal directories.