Versions in this module Expand all Collapse all v1 v1.0.0 Oct 22, 2020 v0 v0.0.1 Oct 20, 2020 Changes in this version + const Auto + const WebSocket + const XHRPolling + var CookieJar = cookiejar.New(nil) + var DefaultConfig = &Config + var Transports = map[string]Transport + type Config struct + Client *http.Client + DisableAuthentication bool + DisableConcurrency bool + Environment string + IP string + Id string + KiteKey string + KontrolKey string + KontrolURL string + KontrolUser string + Port int + Region string + Serve func(net.Listener, http.Handler) error + SockJS *sockjs.Options + Timeout time.Duration + Transport Transport + UseWebRTC bool + Username string + VerifyAudienceFunc func(client *protocol.Kite, aud string) error + VerifyFunc func(pub string) error + VerifyTTL time.Duration + Websocket *websocket.Dialer + XHR *http.Client + func Get() (*Config, error) + func MustGet() *Config + func New() *Config + func NewFromKiteKey(file string) (*Config, error) + func (c *Config) Copy() *Config + func (c *Config) ReadEnvironmentVariables() error + func (c *Config) ReadKiteKey() error + func (c *Config) ReadToken(key *jwt.Token) error + type Transport int + func (t Transport) String() string