Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SomethingWentWrong = errors.New("SomethingWentWrong")
)
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) Serve ¶
func (broker *Broker) Serve(newcomers *wampShared.Observable[*wamp.Peer])
type Dealer ¶
type Dealer struct {
// contains filtered or unexported fields
}
func (*Dealer) Serve ¶
func (dealer *Dealer) Serve(newcomers *wampShared.Observable[*wamp.Peer])
type RegistrationList ¶
type RegistrationList = routerShared.ResourceList[*wamp.RegisterOptions]
type Router ¶
type Router struct { ID string Session *wamp.Session KeyRing *routerShared.KeyRing Storage routerShared.Storage Broker *Broker Dealer *Dealer Newcomers *wampShared.Observable[*wamp.Peer] // contains filtered or unexported fields }
func NewRouter ¶
func NewRouter( ID string, storage routerShared.Storage, keyRing *routerShared.KeyRing, logger *slog.Logger, ) *Router
type SubscriptionList ¶
type SubscriptionList = routerShared.ResourceList[*wamp.SubscribeOptions]
Click to show internal directories.
Click to hide internal directories.