forms

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormHome

type FormHome struct {
	valente.FormImpl
}

FormHome example

func (FormHome) Initialize

func (form FormHome) Initialize(ws *action.WebSocket) valente.Form

Initialize inits the Home Form

func (FormHome) Render

func (form FormHome) Render(ws *action.WebSocket, app *valente.App, params []string) error

Render the initial html form

type FormLogin

type FormLogin struct {
	valente.FormImpl
}

FormLogin is a form for auth

func (FormLogin) Initialize

func (form FormLogin) Initialize(ws *action.WebSocket) valente.Form

Initialize inits the login Form

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL