test

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthStrategy

type AuthStrategy string
const (
	AuthStrategyDenyAll            AuthStrategy = "deny-all"
	AuthStrategyUserIDInAuthHeader AuthStrategy = "user-id-in-auth-header"
)

type TestAuthMiddleware

type TestAuthMiddleware struct {
	Strategy AuthStrategy
}

func (*TestAuthMiddleware) Handle

func (m *TestAuthMiddleware) Handle(c *gin.Context)

func (*TestAuthMiddleware) StreamServerInterceptor added in v0.5.4

func (m *TestAuthMiddleware) StreamServerInterceptor() grpc.StreamServerInterceptor

Jump to

Keyboard shortcuts

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