helpers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpClientDo

func HttpClientDo(ctx context.Context, req *http.Request) (res *http.Response, err error)

Send http request without authorisation

func HttpClientDoWithAuthorisation

func HttpClientDoWithAuthorisation(ctx context.Context, req *http.Request, tokenType, accessToken string) (res *http.Response, err error)

Send http request with authorisation

func LoadFile

func LoadFile(file string) (b []byte, err error)

func NewFilesytem

func NewFilesytem(fstype FilesystemType) fileSystem

Types

type FilesystemType

type FilesystemType string
const (
	FILESYSTEM_LOCAL FilesystemType = "LocalFS"
)

Jump to

Keyboard shortcuts

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