Documentation ¶
Index ¶
- func CreateForm(uuid string, fieldArray []Field) *goform.Form
- func CreateFormWithUrl(url, uuid string, fieldArray []Field) *goform.Form
- func GetRouter(formController *FormController) *chi.Mux
- func GetRouterWithUrl(formUrl string, formController *FormController) *chi.Mux
- func ReturnHashURLS() string
- func ReturnURLS() urls
- type Field
- type FormController
- type FormPayload
- type FormServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRouter ¶
func GetRouter(formController *FormController) *chi.Mux
func GetRouterWithUrl ¶
func GetRouterWithUrl(formUrl string, formController *FormController) *chi.Mux
func ReturnHashURLS ¶
func ReturnHashURLS() string
func ReturnURLS ¶
func ReturnURLS() urls
Types ¶
type Field ¶
func (Field) GetHtmlType ¶
type FormController ¶
type FormController struct {
// contains filtered or unexported fields
}
func NewFormController ¶
func NewFormController(form *goformit.Form, clientGandalf *goclient.ClientGandalf) *FormController
func (FormController) Form ¶
func (fc FormController) Form(w http.ResponseWriter, r *http.Request)
type FormPayload ¶
type FormPayload struct {
Fields []Field
}
type FormServer ¶
func NewFormServer ¶
func NewFormServer(uuid string, payload FormPayload, clientGandalf *goclient.ClientGandalf) *FormServer
func (FormServer) Run ¶
func (f FormServer) Run()
Click to show internal directories.
Click to hide internal directories.