Documentation ¶
Index ¶
Constants ¶
View Source
const MethodName = "New"
View Source
const PostHandleFunction = "After"
View Source
const PreHandleFunction = "Before"
View Source
const TagPrefix = "Inject"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RequestContext ¶
type RequestContext struct {
// contains filtered or unexported fields
}
func RequestContextExists ¶
func RequestContextExists(target interface{}) *RequestContext
func RequestContextNew ¶
func RequestContextNew(path string) *RequestContext
func (*RequestContext) Has ¶
func (this *RequestContext) Has(name string) bool
func (*RequestContext) Inject ¶
func (this *RequestContext) Inject(tagName string, value interface{})
func (*RequestContext) InjectAll ¶
func (this *RequestContext) InjectAll(valueMap *map[string]interface{})
func (*RequestContext) Invoke ¶
func (this *RequestContext) Invoke(name string) bool
Click to show internal directories.
Click to hide internal directories.