Documentation ¶
Index ¶
- type Context
- type ContextBuilder
- func (b *ContextBuilder) Build() Context
- func (b *ContextBuilder) WithConfig(config string) *ContextBuilder
- func (b *ContextBuilder) WithDefinition(name string, data string) *ContextBuilder
- func (b *ContextBuilder) WithIdentityResponse(statusCode int, body string) *ContextBuilder
- func (b *ContextBuilder) WithResponse(statusCode int, body string) *ContextBuilder
- func (b *ContextBuilder) WithResponseHeader(header map[string]string) *ContextBuilder
- func (b *ContextBuilder) WithStdIn(input bytes.Buffer) *ContextBuilder
- type IdentityContext
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextBuilder ¶
type ContextBuilder struct {
// contains filtered or unexported fields
}
func NewContextBuilder ¶
func NewContextBuilder() *ContextBuilder
func (*ContextBuilder) Build ¶
func (b *ContextBuilder) Build() Context
func (*ContextBuilder) WithConfig ¶
func (b *ContextBuilder) WithConfig(config string) *ContextBuilder
func (*ContextBuilder) WithDefinition ¶
func (b *ContextBuilder) WithDefinition(name string, data string) *ContextBuilder
func (*ContextBuilder) WithIdentityResponse ¶ added in v1.0.2
func (b *ContextBuilder) WithIdentityResponse(statusCode int, body string) *ContextBuilder
func (*ContextBuilder) WithResponse ¶
func (b *ContextBuilder) WithResponse(statusCode int, body string) *ContextBuilder
func (*ContextBuilder) WithResponseHeader ¶
func (b *ContextBuilder) WithResponseHeader(header map[string]string) *ContextBuilder
func (*ContextBuilder) WithStdIn ¶ added in v1.0.2
func (b *ContextBuilder) WithStdIn(input bytes.Buffer) *ContextBuilder
type IdentityContext ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.