client

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URL string
}

TODO: Add support for custom http client option

type ProxyClient

type ProxyClient interface {
	Health() error
	GetData(ctx context.Context, cert *common.Certificate, domain common.DomainType) ([]byte, error)
	SetData(ctx context.Context, b []byte) (*common.Certificate, error)
}

ProxyClient is an interface for communicating with the EigenDA proxy server

func New

func New(cfg *Config) ProxyClient

Jump to

Keyboard shortcuts

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