client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package client implements the client for the interceptors package.

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