client

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInterceptor

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

AuthInterceptor is a struct for holding the token and adding it to each request.

func NewAuthInterceptor

func NewAuthInterceptor(
	tokenFactory *authn.TokenFactory,
	targetNodeID uint32,
) *AuthInterceptor

func (*AuthInterceptor) Stream

func (*AuthInterceptor) Unary

Unary method to intercept requests and inject the token into headers.

Jump to

Keyboard shortcuts

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