Documentation ¶
Index ¶
- Constants
- type TestingClient
- func (self *TestingClient) DO(method, path string, src, dst interface{}, headers map[string]string) error
- func (self *TestingClient) GET(path string, dst interface{}, headers map[string]string) error
- func (self *TestingClient) POST(path string, src, dst interface{}, headers map[string]string) error
- func (self *TestingClient) PUT(path string, src, dst interface{}, headers map[string]string) error
Constants ¶
View Source
const (
CONST_AUTH_HEADER = "Authorization"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestingClient ¶
type TestingClient struct {
// contains filtered or unexported fields
}
func NewTestingClient ¶
func NewTestingClient(host string) *TestingClient
func (*TestingClient) DO ¶
func (self *TestingClient) DO(method, path string, src, dst interface{}, headers map[string]string) error
func (*TestingClient) GET ¶
func (self *TestingClient) GET(path string, dst interface{}, headers map[string]string) error
Click to show internal directories.
Click to hide internal directories.