grpcauth

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientTokenInterceptor

type ClientTokenInterceptor struct {
	// contains filtered or unexported fields
}

func NewClientInterceptor

func NewClientInterceptor(key string) *ClientTokenInterceptor

func (*ClientTokenInterceptor) Stream

func (interceptor *ClientTokenInterceptor) Stream() grpc.StreamClientInterceptor

func (*ClientTokenInterceptor) Unary

func (interceptor *ClientTokenInterceptor) Unary() grpc.UnaryClientInterceptor

type ServerTokenInterceptor

type ServerTokenInterceptor struct {
	// contains filtered or unexported fields
}

func NewServerInterceptor

func NewServerInterceptor(key string) *ServerTokenInterceptor

func (*ServerTokenInterceptor) Stream

func (*ServerTokenInterceptor) Unary

Jump to

Keyboard shortcuts

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