client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokenProvider

type AuthTokenProvider interface {
	GetAuthToken() (string, error)
}

type DorasBaseClient

type DorasBaseClient struct {
	DorasURL      string
	Client        *http.Client
	TokenProvider AuthTokenProvider
}

DorasBaseClient serves as the base for clients that interact with Doras servers.

func NewBaseClient

func NewBaseClient(serverURL string, tokenProvider AuthTokenProvider) *DorasBaseClient

NewBaseClient constructs a DorasBaseClient.

Jump to

Keyboard shortcuts

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