Documentation ¶
Index ¶
- func Get(t *testing.T, k string) string
- func HttpNewAuthRequest(t *testing.T, method string, url string, body []byte, w http.ResponseWriter) *http.Request
- func HttpNewAuthRequestO(t *testing.T, method string, url string, body interface{}, ...) *http.Request
- func Init()
- func Login(t *testing.T)
- func SessID(t *testing.T) string
- func Set(t *testing.T, k string, v string)
- func Tenant(t *testing.T) string
- type InMemResponseWriter
- func (i *InMemResponseWriter) Bytes() []byte
- func (i *InMemResponseWriter) Header() http.Header
- func (i *InMemResponseWriter) Read(b []byte) (int, error)
- func (i *InMemResponseWriter) Status() int
- func (i *InMemResponseWriter) Write(bs []byte) (int, error)
- func (i *InMemResponseWriter) WriteHeader(statusCode int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpNewAuthRequest ¶
func HttpNewAuthRequestO ¶
Types ¶
type InMemResponseWriter ¶
type InMemResponseWriter struct {
// contains filtered or unexported fields
}
func NewInMemResponseWriter ¶
func NewInMemResponseWriter() *InMemResponseWriter
func (*InMemResponseWriter) Bytes ¶
func (i *InMemResponseWriter) Bytes() []byte
func (*InMemResponseWriter) Header ¶
func (i *InMemResponseWriter) Header() http.Header
func (*InMemResponseWriter) Status ¶
func (i *InMemResponseWriter) Status() int
func (*InMemResponseWriter) WriteHeader ¶
func (i *InMemResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.