Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMuxRequestToStruct ¶
ParseMuxRequestToStruct is a convenience method so to wrap the operations of creating a MuxURLGetter and running tagconfig.Process
Types ¶
type MuxURLGetter ¶
MuxURLGetter Implements the TagValueGetter to parse struct tagconfig into a struct instance
func (*MuxURLGetter) Get ¶
func (mg *MuxURLGetter) Get(key string, f reflect.StructField) (v string)
Get will be called from tagconfig.Process for any fields with the tag mux.url and consult secondary fields mux.param, mux.form and mux.path to retrieve the appropriate value for the struct field
func (*MuxURLGetter) TagName ¶
func (mg *MuxURLGetter) TagName() string
Click to show internal directories.
Click to hide internal directories.