registryclient

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

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

func NewHTTPClient

func NewHTTPClient(restyClient *resty.Client) *HTTPClient

func (*HTTPClient) LoadAsset

func (c *HTTPClient) LoadAsset(ctx context.Context, network string, asset string) (*registry.Asset, error)

func (*HTTPClient) LoadAssets

func (c *HTTPClient) LoadAssets(ctx context.Context, network string, assets ...string) error

func (*HTTPClient) SaveAsset

func (c *HTTPClient) SaveAsset(ctx context.Context, network string, asset *registry.Asset) error

Jump to

Keyboard shortcuts

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