fileclient

package
v0.0.0-...-4315425 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VerifySSL bool `envconfig:"default=true"`
}

type FileClient

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

func New

func New(cfg Config) (*FileClient, error)

func (*FileClient) Get

func (f *FileClient) Get(path string, headers http.Header) ([]byte, error)

Jump to

Keyboard shortcuts

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