Documentation ¶
Index ¶
- type AlpaconClient
- func (ac *AlpaconClient) SendDeleteRequest(url string) ([]byte, error)
- func (ac *AlpaconClient) SendGetRequest(url string) ([]byte, error)
- func (ac *AlpaconClient) SendMultipartRequest(url string, multiPartWriter *multipart.Writer, body bytes.Buffer) error
- func (ac *AlpaconClient) SendPostRequest(url string, params interface{}) ([]byte, error)
- type CheckAuthResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlpaconClient ¶
func NewAlpaconAPIClient ¶
func NewAlpaconAPIClient() (*AlpaconClient, error)
func (*AlpaconClient) SendDeleteRequest ¶ added in v0.0.2
func (ac *AlpaconClient) SendDeleteRequest(url string) ([]byte, error)
func (*AlpaconClient) SendGetRequest ¶
func (ac *AlpaconClient) SendGetRequest(url string) ([]byte, error)
Get Request to Alpacon Server
func (*AlpaconClient) SendMultipartRequest ¶
func (*AlpaconClient) SendPostRequest ¶
func (ac *AlpaconClient) SendPostRequest(url string, params interface{}) ([]byte, error)
POST Request to Alpacon Server
type CheckAuthResponse ¶
type CheckAuthResponse struct {
Authenticated bool `json:"authenticated"`
}
Click to show internal directories.
Click to hide internal directories.