http

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg *Config) (*Client, error)

func NewClientFromClient

func NewClientFromClient(s autorest.Sender, cfg *Config) *Client

func (*Client) ListAWSPricing

func (c *Client) ListAWSPricing(ctx context.Context) ([]ethproofs.AWSInstance, error)

func (*Client) ListClusters

func (c *Client) ListClusters(ctx context.Context) ([]ethproofs.Cluster, error)

func (*Client) QueueProof

func (*Client) StartProving

func (*Client) SubmitProof

type Config

type Config struct {
	Addr       string
	APIKey     string
	HTTPConfig *comhttp.ClientConfig
}

func (*Config) SetDefault

func (cfg *Config) SetDefault() *Config

type Option

type Option func(*Config)

func WithAPIKey

func WithAPIKey(apiKey string) Option

func WithAddr

func WithAddr(addr string) Option

func WithHTTPConfig

func WithHTTPConfig(cfg *comhttp.ClientConfig) Option

Jump to

Keyboard shortcuts

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