Documentation ¶
Index ¶
- func BindBool(req *http.Request, key string, bindType BindType) (bool, error)
- func BindBytes(req *http.Request, key string, bindType BindType) ([]byte, error)
- func BindFloat(req *http.Request, key string, bindType BindType) (float64, error)
- func BindInt(req *http.Request, key string, bindType BindType) (int, error)
- func BindString(req *http.Request, key string, bindType BindType) (string, error)
- func Generate(fileName string) (string, error)
- func Validate(data IBindable) error
- type BindDataType
- type BindType
- type Field
- type Generator
- type Greb
- type IBindable
- type Parser
- type Request
- type URLParamBind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BindDataType ¶
type BindDataType uint
const ( DATA_BIND_TYPE_INT BindDataType = 1 DATA_BIND_TYPE_FLOAT BindDataType = 2 DATA_BIND_TYPE_STRING BindDataType = 3 DATA_BIND_TYPE_BOOL BindDataType = 4 )
type URLParamBind ¶
var URLParamBindFunc URLParamBind
Click to show internal directories.
Click to hide internal directories.