Documentation
¶
Index ¶
- type ApiClient
- type ApiClientImpl
- func (c *ApiClientImpl) Delete(path string, input interface{}) (out interface{}, err error)
- func (c *ApiClientImpl) Get(path string) (out interface{}, err error)
- func (c *ApiClientImpl) Patch(path string, input interface{}) (out interface{}, err error)
- func (c *ApiClientImpl) Post(path string, input interface{}) (out interface{}, err error)
- func (c *ApiClientImpl) Put(path string, input interface{}) (out interface{}, err error)
- func (c *ApiClientImpl) SetToken(token string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient interface { Get(path string) (out interface{}, err error) Post(path string, input interface{}) (out interface{}, err error) Delete(path string, input interface{}) (out interface{}, err error) Put(path string, input interface{}) (out interface{}, err error) Patch(path string, input interface{}) (out interface{}, err error) SetToken(token string) }
type ApiClientImpl ¶
type ApiClientImpl struct {
// contains filtered or unexported fields
}
func (*ApiClientImpl) Delete ¶
func (c *ApiClientImpl) Delete(path string, input interface{}) (out interface{}, err error)
func (*ApiClientImpl) Get ¶
func (c *ApiClientImpl) Get(path string) (out interface{}, err error)
func (*ApiClientImpl) Patch ¶
func (c *ApiClientImpl) Patch(path string, input interface{}) (out interface{}, err error)
func (*ApiClientImpl) Post ¶
func (c *ApiClientImpl) Post(path string, input interface{}) (out interface{}, err error)
func (*ApiClientImpl) Put ¶
func (c *ApiClientImpl) Put(path string, input interface{}) (out interface{}, err error)
func (*ApiClientImpl) SetToken ¶
func (c *ApiClientImpl) SetToken(token string)
Click to show internal directories.
Click to hide internal directories.