Documentation
¶
Index ¶
- func HttpClientDo(ctx context.Context, req *http.Request) (res *http.Response, err error)
- func HttpClientDoWithAuthorisation(ctx context.Context, req *http.Request, tokenType, accessToken string) (res *http.Response, err error)
- func LoadFile(file string) (b []byte, err error)
- func NewFilesytem(fstype FilesystemType) fileSystem
- type FilesystemType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpClientDo ¶
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 NewFilesytem ¶
func NewFilesytem(fstype FilesystemType) fileSystem
Types ¶
type FilesystemType ¶
type FilesystemType string
const (
FILESYSTEM_LOCAL FilesystemType = "LocalFS"
)
Click to show internal directories.
Click to hide internal directories.