handler

package
v0.0.0-...-207d5c5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Corr

type Corr struct {
	Left  string
	Right string
	Value float64
}

type GridModel

type GridModel struct {
	Grid              *domain.Grid
	UpdateValue       int
	Session           string
	AddTermError      string
	FormFieldDebounce int // ms
	CurrentTriadID    int
	Charts            struct {
		TermsCorr      []charts.Heatmap
		ConstructsCorr []charts.Heatmap
	}
	TermsCorrs      []Corr
	ConstructsCorrs []Corr
}

func AssignGridModel

func AssignGridModel(s *live.Socket) *GridModel

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(
	app *app.App,
	t string,
) *Handler

func (*Handler) Grid

func (h *Handler) Grid() *live.Handler

func (*Handler) Home

func (h *Handler) Home() *live.Handler

type HomeInstance

type HomeInstance struct {
	Session string
}

func NewHomeInstance

func NewHomeInstance(s *live.Socket) *HomeInstance

Jump to

Keyboard shortcuts

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