Versions in this module Expand all Collapse all v0 v0.2.1 Aug 11, 2021 Changes in this version + const ErrNoSingleFile + var ErrNoAuth = errors.New("This endpoint must be under AuthRequired") + var ErrNotSupported = errors.New("This ws call is not supported") + type Config struct + CookieMaxAge int + CookieName string + HeaderName string + type Service struct + Config *Config + ContextKey string + Log *log.SugaredLogger + func New(cfg Config, logger *log.SugaredLogger, ps *pubsub.Service, key string) *Service + func (srv Service) SetupRouter(r *gin.Engine)