Documentation ¶
Index ¶
- Constants
- type Option
- type Response
- type Service
- func (c *Service) DelByte(path, query string) ([]byte, error)
- func (c *Service) DelString(path, query string) (body string, err error)
- func (c *Service) GetByte(path, query string) ([]byte, error)
- func (c *Service) GetString(path, query string) (body string, err error)
- func (c *Service) PatchByte(path string, data interface{}) ([]byte, error)
- func (c *Service) PatchString(path string, data interface{}) (body string, err error)
- func (c *Service) PostByte(path string, data interface{}) ([]byte, error)
- func (c *Service) PostString(path string, data interface{}) (body string, err error)
- func (c *Service) PutByte(path string, data interface{}) ([]byte, error)
- func (c *Service) PutString(path string, data interface{}) (body string, err error)
Constants ¶
View Source
const ( GET = "GET" POST = "POST" PUT = "PUT" PATCH = "PATCH" DELETE = "DELETE" COPY = "COPY" HEAD = "HEAD" OPTIONS = "OPTIONS" LINK = "LINK" UNLINK = "UNLINK" PURGE = "PURGE" LOCK = "LOCK" UNLOCK = "UNLOCK" PROPFIND = "PROPFIND" VIEW = "VIEW" REQUEST = "Request" RESPONSE = "Response" SUCCESS = "Success" FAIL = "Fail" NONE = "NONE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service -
func (*Service) PatchString ¶
PatchString - 取得回應格式為String
func (*Service) PostString ¶
PostString - 取得回應格式為String
Click to show internal directories.
Click to hide internal directories.