Documentation
¶
Index ¶
- Variables
- type Auth
- type Client
- func (h2o *Client) Delete(l Logger, auth Auth, dest_uri string) error
- func (h2o *Client) Download(l Logger, auth Auth, dest_uri string) (io.ReadCloser, int64, error)
- func (h2o *Client) GetConfig(l Logger, auth Auth, section string, ret interface{}) error
- func (h2o *Client) SetConfig(l Logger, auth Auth, section string, ret interface{}) error
- func (h2o *Client) Upload(l Logger, auth Auth, dest_uri string, contentType string, rd io.Reader, ...) error
- func (h2o *Client) UploadFile(l Logger, auth Auth, dest_uri string, file string) error
- type HeaderAuth
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent = "Golang h2object/api package"
Functions ¶
This section is empty.
Types ¶
type Client ¶
type HeaderAuth ¶
type HeaderAuth struct {
// contains filtered or unexported fields
}
func NewHeaderAuth ¶
func NewHeaderAuth() *HeaderAuth
func (*HeaderAuth) Add ¶
func (hds *HeaderAuth) Add(key, value string)
func (*HeaderAuth) Del ¶
func (hds *HeaderAuth) Del(key string)
func (*HeaderAuth) Set ¶
func (hds *HeaderAuth) Set(key, value string)
Click to show internal directories.
Click to hide internal directories.