Versions in this module Expand all Collapse all v2 v2.0.5 Jan 15, 2024 Changes in this version + const LABDown + const LABLeft + const LABRight + const LABTop + var Field = map[string]int + var SalonDigitalImage []byte + var SalonDigitalJSON []byte + var StaticFS embed.FS + var TemplateFS embed.FS + type FieldEntry struct + Name string + Work *Work + type Labyrinth struct + Detail string + East bool + Fields [][]FieldEntry + North bool + Size int + South bool + West bool + func NewLabyrinth(size int, works map[string]*Work) *Labyrinth + func (lab *Labyrinth) GetMovements() (left, right, top, down bool) + func (lab *Labyrinth) Move(x, y int) + type Salon struct + func NewSalon(works map[string]*Work, addrExt string, staticFS, templateFS fs.FS, ...) (*Salon, error) + func (s *Salon) MainHandler(w http.ResponseWriter, r *http.Request) + func (s *Salon) MoveHandler(w http.ResponseWriter, r *http.Request) + func (s *Salon) SetRoutes(pathPrefix string, router *mux.Router) error + type Work struct + Authors []string + Description *translate.MultiLangString + IFrameUrl string + ImageUrl string + Signature string + ThumbnailUrl string + Title *translate.MultiLangString + Year string Other modules containing this package github.com/je4/salon-digital