Documentation
¶
Index ¶
Constants ¶
View Source
const ( JsonSerializer = "json" CborSerializer = "cbor" MsgPackSerializer = "msgpack" ProtobufSerializer = "protobuf" BurstStrategy = "burst" LeakyBucketStrategy = "leakybucket" )
Variables ¶
View Source
var URIRegex = regexp.MustCompile(`^([^\s.#]+\.)*([^\s.#]+)$`)
Functions ¶
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(authenticators Authenticators) *Authenticator
func (*Authenticator) Authenticate ¶
func (*Authenticator) Methods ¶
func (a *Authenticator) Methods() []auth.Method
type Authenticators ¶
type Authenticators struct { CryptoSign []CryptoSign `yaml:"cryptosign"` WAMPCRA []WAMPCRA `yaml:"wampcra"` Ticket []Ticket `yaml:"ticket"` Anonymous []Anonymous `yaml:"anonymous"` }
type Config ¶
type Config struct { Version string `yaml:"version"` Realms []Realm `yaml:"realms"` Transports []Transport `yaml:"transports"` Authenticators Authenticators `yaml:"authenticators"` }
type CryptoSign ¶
Click to show internal directories.
Click to hide internal directories.