Versions in this module Expand all Collapse all v1 v1.0.0 Sep 22, 2017 Changes in this version + const Days30 + const Hours1 + const Hours2 + const Hours24 + const Moderator + const Publisher + const Subscriber + const Weeks1 + type MediaMode string + const MediaRouter + const P2P + type Role string + type Session struct + CreateDt string + MediaServerURL string + PartnerId string + ProjectId string + SessionId string + SessionStatus string + T *Tokbox + func (s *Session) Token(role Role, connectionData string, expiration int64) (string, error) + func (s *Session) Tokens(n int, multithread bool, role Role, connectionData string, expiration int64) []string + type Tokbox struct + BetaUrl string + func New(apikey, partnerSecret string) *Tokbox + func (t *Tokbox) NewSession(location string, mm MediaMode, ctx ...*context.Context) (*Session, error) Incompatible versions in this module v3.0.0+incompatible Jun 8, 2020 v2.0.0+incompatible Jan 6, 2018