Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorMessage ¶
func ErrorMessage(w http.ResponseWriter, code int, msg string)
func OK ¶
func OK(w http.ResponseWriter, body []byte)
Types ¶
type FakeResponseWriter ¶
type FakeResponseWriter struct {
// contains filtered or unexported fields
}
func (FakeResponseWriter) Header ¶
func (f FakeResponseWriter) Header() http.Header
func (*FakeResponseWriter) WriteHeader ¶
func (f *FakeResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.