Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Application ¶
func Application(configPath string, providers ...contract.Provider) contract.Application
func ApplicationDefault ¶
func ApplicationDefault(providers ...contract.Provider) contract.Application
func NewMockResponseWriter ¶
func NewMockResponseWriter() http.ResponseWriter
Types ¶
type MockRequest ¶
func NewMockRequest ¶
func NewMockRequest(method, url, body string) *MockRequest
type MockResponseWriter ¶
type MockResponseWriter struct { //mock.Mock Bytes []byte Headers http.Header // contains filtered or unexported fields }
func (*MockResponseWriter) Header ¶
func (m *MockResponseWriter) Header() http.Header
func (*MockResponseWriter) StatusCode ¶
func (m *MockResponseWriter) StatusCode() int
func (*MockResponseWriter) WriteHeader ¶
func (m *MockResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.