Versions in this module Expand all Collapse all v0 v0.2.1 Aug 11, 2021 Changes in this version + const ErrNoSingleFile + var ErrNoAnyFile = errors.New("field 'file' does not contains any item") + var ErrNoAuth = errors.New("This endpoint must be under AuthRequired") + type Config struct + CookieMaxAge int + CookieName string + HeaderName string + type PageEvent struct + Layout string + RequestID string + type Service struct + Config *Config + ContextKey string + ContextRequestIDKey string + Log *log.SugaredLogger + func New(cfg Config, logger *log.SugaredLogger, ps *pubsub.Service, key, idKey string) *Service + func (srv Service) HandlersClose() + func (srv Service) HandlersRun() + func (srv Service) RequestID() func(c *gin.Context) + func (srv Service) SetupRouter(r *gin.Engine) + func (srv Service) WidgetJS() func(c *gin.Context) + type WidgetEvent struct + Data string + ID string + Type string