Documentation ¶
Index ¶
- type Webservice
- func (w *Webservice) Delete(endpoint string) (error, []byte, int)
- func (w *Webservice) Get(endpoint string) (error, []byte, int)
- func (w *Webservice) GetFile(endpoint string, directoryPath string) (string, error)
- func (w *Webservice) Post(endpoint string, json []byte) (error, []byte, int)
- func (w *Webservice) Put(endpoint string, json []byte) (error, []byte, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webservice ¶
type Webservice struct {
// contains filtered or unexported fields
}
func NewWebService ¶
func NewWebService() (*Webservice, error)
func (*Webservice) GetFile ¶
func (w *Webservice) GetFile(endpoint string, directoryPath string) (string, error)
Click to show internal directories.
Click to hide internal directories.