Versions in this module Expand all Collapse all v0 v0.2.0 Apr 15, 2018 v0.1.0 Apr 3, 2018 Changes in this version + const ButtonTypeDo + const ButtonTypeGet + const ButtonTypeSet + const ErrButtonAlreadyRegistered + type Button struct + Class string + ID string + Keys []string + Label string + Method string + Path string + Type ButtonType + type ButtonType string + type DoButton interface + CallbackDo func() + Class func() string + ID func() string + Keys func() []string + Label func() string + type DoCallback func() + type Error string + func (e Error) Error() string + type Frontend interface + DoButtons func() []DoButton + GetButtons func() []GetButton + RegisterDoButton func(button GetButton) error + RegisterDoButtons func(buttons ...GetButton) error + RegisterGetButton func(button GetButton) error + RegisterGetButtons func(buttons ...GetButton) error + RegisterSetButton func(button SetButton) error + RegisterSetButtons func(buttons ...SetButton) error + Render func(w http.ResponseWriter) error + SetButtons func() []SetButton + Start func() error + type GetButton interface + CallbackGet func() map[string]interface{} + Class func() string + ID func() string + Keys func() []string + Label func() string + type GetCallback func() map[string]interface + type SetButton interface + CallbackSet func(map[string]interface{}) + Class func() string + ID func() string + Keys func() []string + Label func() string + type SetCallback func(map[string]interface{})