provider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Description(ctx context.Context) (*domain.ProviderDescription, error)
	Process(ctx context.Context, req *domain.ProviderProcessRequest) (*domain.ProviderProcessResponse, error)
}

Client to provider.

func New

func New(opts NewOptions) (Client, error)

New returns new Client.

type NewOptions

type NewOptions struct {
	Name             string
	Address          string
	M2MTokenSource   m2m.Source
	OperationTimeout time.Duration
}

NewOptions ...

Jump to

Keyboard shortcuts

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