hydra

package
v0.0.0-...-ad7c876 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hydra

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

func FromEnvironment

func FromEnvironment() (*Hydra, error)

func New

func New(url string) *Hydra

func (*Hydra) Client

func (h *Hydra) Client(ctx context.Context, id string) (*provider.Client, error)

func (*Hydra) Clients

func (h *Hydra) Clients(ctx context.Context) ([]provider.Client, error)

func (*Hydra) CreateClient

func (h *Hydra) CreateClient(ctx context.Context, c provider.Client) (*provider.Client, error)

func (*Hydra) DeleteClient

func (h *Hydra) DeleteClient(ctx context.Context, id string) error

Jump to

Keyboard shortcuts

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