Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PolicyInstanceMiddleware ¶
type PolicyInstanceMiddleware struct {
// contains filtered or unexported fields
}
func NewInstanceMiddleware ¶
func NewInstanceMiddleware(cfg *config.Config, logger *zerolog.Logger) *PolicyInstanceMiddleware
func (*PolicyInstanceMiddleware) Stream ¶
func (m *PolicyInstanceMiddleware) Stream() grpc.StreamServerInterceptor
passthrough as Is call is Unary type operation.
func (*PolicyInstanceMiddleware) Unary ¶
func (m *PolicyInstanceMiddleware) Unary() grpc.UnaryServerInterceptor
If the unary operation is an Is request attach configured instance information to request.
type TenantIDIDMiddleware ¶
type TenantIDIDMiddleware struct {
// contains filtered or unexported fields
}
func NewTenantIDMiddleware ¶
func NewTenantIDMiddleware(cfg *config.Config) *TenantIDIDMiddleware
func (*TenantIDIDMiddleware) Stream ¶
func (m *TenantIDIDMiddleware) Stream() grpc.StreamServerInterceptor
func (*TenantIDIDMiddleware) Unary ¶
func (m *TenantIDIDMiddleware) Unary() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.