Documentation ¶
Index ¶
- type Behavior
- type InjectBuilder
- type IsBuilder
- func (builder *IsBuilder) Body(body string) *IsBuilder
- func (builder *IsBuilder) Build() IsElement
- func (builder *IsBuilder) Decorate(decorateFn string) *IsBuilder
- func (builder *IsBuilder) Header(header string, value string) *IsBuilder
- func (builder *IsBuilder) StatusCode(statusCode int) *IsBuilder
- func (builder *IsBuilder) Wait(waitTime int) *IsBuilder
- type IsElement
- type IsResponse
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InjectBuilder ¶
type InjectBuilder struct {
// contains filtered or unexported fields
}
func Inject ¶
func Inject() *InjectBuilder
func (*InjectBuilder) Build ¶
func (builder *InjectBuilder) Build() Response
func (*InjectBuilder) Fn ¶
func (builder *InjectBuilder) Fn(functionCode string) *InjectBuilder
type IsBuilder ¶
type IsBuilder struct {
// contains filtered or unexported fields
}
func (*IsBuilder) StatusCode ¶
type IsElement ¶
type IsElement struct { Is *IsResponse `json:"is"` Behavior *Behavior `json:"_behaviors,omitempty"` }
type IsResponse ¶
Click to show internal directories.
Click to hide internal directories.