Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConnectionClosed = errors.New("Connection closed")
View Source
var ErrDuplicateMessage = errors.New("Message was already sent once")
View Source
var ErrEmptyUrl = errors.New("Url is empty")
View Source
var ErrHandshakeTimeout = errors.New("Handshake timeout")
View Source
var ErrHeartbeatTimeout = errors.New("Heartbeat timeout")
View Source
var ErrSubscriptionClosed = errors.New("Subscription is closed")
View Source
var ErrSubscriptionInboxFull = errors.New("Subscription incoming message buffer exceeded")
View Source
var ErrSubscriptionNotFound = errors.New("Subscription not found")
Functions ¶
This section is empty.
Types ¶
type AuthorizeCommandInput ¶
type FrameBuilder ¶
type FrameBuilder interface {
WithPayload(Payload) FrameBuilder
WithChannel(string) FrameBuilder
WithSignature(Signature) FrameBuilder
WithType(string) FrameBuilder
WithID(string) FrameBuilder
Build() Frame
}
type FrameBuilderFactory ¶
type FrameBuilderFactory interface {
Create() FrameBuilder
}
type RequestAuthorizer ¶
type RequestAuthorizer interface {
Authorize(context.Context, AuthorizeCommandInput) (Signature, error)
}
Click to show internal directories.
Click to hide internal directories.