package web import ( "encoding/json" "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" "github.com/go-chi/httprate" "github.com/rs/zerolog/log" "github.com/velour/catbase/bot/stats" "github.com/velour/catbase/config" "net/http" "strings" "time" ) type Web struct { config *config.Config router *chi.Mux httpEndPoints []EndPoint stats *stats.Stats } type EndPoint struct { Name string `json:"name"` URL string `json:"url"` } // GetWebNavigation returns a list of bootstrap-vue links // The parent