Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IService ¶
type IService interface {
SetAuthorization(token string)
Get(route string, params map[string]string) (*resty.Response, error)
Delete(route string, params map[string]string) (*resty.Response, error)
Put(route string, body any, params map[string]string) (*resty.Response, error)
Post(route string, body any, params map[string]string) (*resty.Response, error)
}
func NewService ¶
func NewService(logger *zap.SugaredLogger, baseURL string) IService
Click to show internal directories.
Click to hide internal directories.