Documentation
¶
Index ¶
Constants ¶
View Source
const ( JsonSerializer = "json" CborSerializer = "cbor" MsgPackSerializer = "msgpack" ProtobufSerializer = "protobuf" CapnprotoSerializer = "capnproto" BurstStrategy = "burst" LeakyBucketStrategy = "leakybucket" WebSocketTransport = "websocket" UniversalTransport = "universal" RawSocketTransport = "rawsocket" )
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 CryptoSign ¶
type Permission ¶
type RealmRole ¶
type RealmRole struct {
Name string `yaml:"name"`
Permissions []Permission `yaml:"permissions"`
}
Click to show internal directories.
Click to hide internal directories.