Versions in this module Expand all Collapse all v0 v0.3.6 Sep 24, 2015 v0.3.5 Apr 26, 2015 v0.3.4 Apr 26, 2015 v0.3.3 Apr 26, 2015 Changes in this version + type Authorization struct + Channels []string + Permissions []string + Topic string + func (a *Authorization) HasPermission(permission string) bool + func (a *Authorization) IsAllowed(topic, channel string) bool + type State struct + Authorizations []Authorization + Expires time.Time + Identity string + IdentityURL string + TTL int + func QueryAnyAuthd(authd []string, remoteIP, tlsEnabled, authSecret string) (*State, error) + func QueryAuthd(authd, remoteIP, tlsEnabled, authSecret string) (*State, error) + func (a *State) IsAllowed(topic, channel string) bool + func (a *State) IsExpired() bool