Documentation
¶
Index ¶
- type Resource
- type Result
- type RetryVerify
- type ServiceClient
- func (s *ServiceClient) DeleteJson(ctx mux.Context, serviceName string, urlPath string, params interface{}, ...) (code int, err error)
- func (s *ServiceClient) GetJson(ctx mux.Context, serviceName string, urlPath string, params interface{}, ...) (code int, err error)
- func (s *ServiceClient) PatchJson(ctx mux.Context, serviceName string, urlPath string, params interface{}, ...) (code int, err error)
- func (s *ServiceClient) PostJson(ctx mux.Context, serviceName string, urlPath string, params interface{}, ...) (code int, err error)
- func (s *ServiceClient) PutJson(ctx mux.Context, serviceName string, urlPath string, params interface{}, ...) (code int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type RetryVerify ¶
type ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
func CreateSpecialHttpClient ¶
func CreateSpecialHttpClient(rs ...Resource) *ServiceClient
func New ¶
func New(rs ...Resource) *ServiceClient
func (*ServiceClient) DeleteJson ¶
Click to show internal directories.
Click to hide internal directories.