Versions in this module Expand all Collapse all v0 v0.2.31 Aug 26, 2014 v0.2.30 Jul 28, 2014 v0.2.29 Jul 25, 2014 Changes in this version + type AuthState struct + Authorizations []Authorization + Expires time.Time + Identity string + IdentityUrl string + TTL int + func QueryAnyAuthd(authd []string, remoteIp, tlsEnabled, authSecret string) (*AuthState, error) + func QueryAuthd(authd, remoteIp, tlsEnabled, authSecret string) (*AuthState, error) + func (a *AuthState) IsAllowed(topic, channel string) bool + func (a *AuthState) IsExpired() bool + type Authorization struct + Channels []string + Permissions []string + Topic string + func (a *Authorization) HasPermission(permission string) bool + func (a *Authorization) IsAllowed(topic, channel string) bool