Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedBodyType = errors.New("unsupported body type")
)
View Source
var (
ErrUnsupportedHeaderType = errors.New("unsupported header type")
)
View Source
var (
ErrUnsupportedQueryType = errors.New("unsupported query type")
)
View Source
var (
ErrUnsupportedURIParamType = errors.New("unsupported uri param type")
)
Functions ¶
func NewTestContext ¶
func NewTestContext(input ContextInput) (*gin.Context, error)
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) SetHeaders ¶
func (h *Builder) SetHeaders(headers interface{})
func (*Builder) SetQueries ¶
func (q *Builder) SetQueries(queries interface{})
func (*Builder) SetURIParams ¶
func (u *Builder) SetURIParams(uriParams interface{})
Click to show internal directories.
Click to hide internal directories.