api_utils

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthInterceptor

func AuthInterceptor(accessToken string) connect.Interceptor

AuthInterceptor returns an interceptor that adds the given access token to the request headers.

func NewConnectClient

func NewConnectClient(endpoint string) (*http.Client, error)

NewConnectClient creates a new http client for connecting to the given endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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