Documentation ¶
Index ¶
- Constants
- func Documents() docs.Docs
- func GetRequestInt(r *http.Request, key string) (sel int)
- func GetRequestString(r *http.Request, key string) (sel string)
- func GetRequestUint(r *http.Request, key string) (sel uint)
- func Mask(m interface{}, mask uint) (b bool)
- func Request(u string) (data []byte, err error)
- func UnMask(m interface{}, mask uint, isTrue bool) (err error)
- func UnMasks(m interface{}, mask uint, s string) (err error)
- func UseDocuments(init docs.Docs)
- func WriteError(w http.ResponseWriter, err error)
- func WriteResponse(w http.ResponseWriter, b []byte)
- type Entries
- type Entry
- func (ent *Entry) Checked(v interface{}) (b bool)
- func (ent *Entry) Documents() docs.Docs
- func (ent *Entry) FindDoc(code string) *docs.Doc
- func (ent *Entry) FormatInput(value interface{}, first *Entry) (f *InputFormat)
- func (ent *Entry) InBounds(s string) bool
- func (ent *Entry) InfoURL(base string) (s string)
- func (ent *Entry) ResponseList(v interface{}) []string
- func (ent *Entry) ScanInput(s string, value interface{}) (err error)
- func (ent *Entry) Value(v interface{}) (r interface{})
- type Form
- type Forms
- type Identifier
- type InputFormat
- type Updated
- type WebId
- type WebIds
Constants ¶
View Source
const (
InvalidId = 0xffffffff
)
Variables ¶
This section is empty.
Functions ¶
func UseDocuments ¶
func WriteError ¶
func WriteError(w http.ResponseWriter, err error)
func WriteResponse ¶
func WriteResponse(w http.ResponseWriter, b []byte)
Types ¶
type Entry ¶
type Entry struct { ID string `json:"entryId"` Name string `json:"name"` Code string `json:"code"` Label string `json:"label"` URL string `json:"url"` Type string `json:"type"` Min float32 `json:"min"` Max float32 `json:"max"` Step float32 `json:"step"` Item uint `json:"item"` Val func(interface{}) interface{} Scan func(string, interface{}) error }
Entry -
func (*Entry) FormatInput ¶
func (ent *Entry) FormatInput(value interface{}, first *Entry) (f *InputFormat)
func (*Entry) ResponseList ¶
type Form ¶
func (*Form) GetUpdated ¶
type Identifier ¶
type InputFormat ¶
Click to show internal directories.
Click to hide internal directories.