package
0.0.0-20221122084820-c9ce30769b46
Repository: https://github.com/boardsite-io/server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Code generated by counterfeiter.

# Functions

DecodeMsgContent is a shorthand wrapper to directly decode the content of generic API JSON messages.
NewBroadcaster creates a new Broadcaster for a given session.
No description provided by the author
NewControlBlock creates a new Session controlBlock with unique ID.
No description provided by the author
NewMessage creates a new Message with any JSON encodable content, a message type and an optional sender.
UnmarshalMessage parses the JSON-encoded message and stores the result in the Message struct.
UnmarshalMsgContent is a shorthand wrapper to directly unmarshal the content of generic API JSON messages.
WithAttachments sets the attachment.Handler This functional argument is passed to NewControlBlock.
WithBroadcaster sets the Broadcaster This functional argument is passed to NewControlBlock.
WithCache sets the redis.Handler This functional argument is passed to NewControlBlock.
WithDispatcher sets the Dispatcher This functional argument is passed to NewControlBlock.

# Constants

Message type definitions.
Message type definitions.
Message type definitions.
Message type definitions.
Message type definitions.
Message type definitions.
Message type definitions.
Message type definitions.
Message type definitions.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ContentMouseMove declares mouse move updates.
No description provided by the author
No description provided by the author
No description provided by the author
Message declares the generic message envelope of any API JSON encoded message.
No description provided by the author
PageStyle declares the style of the page background.
PageMeta declares some page meta data.
PageRequest declares the message content for page requests.
No description provided by the author
No description provided by the author
Stroke declares the structure of most stoke types.
Style declares the stroke style.
Textfield for editing richtext.
User declares some information about connected users.
No description provided by the author

# Interfaces

counterfeiter:generate .
counterfeiter:generate .
go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generatecounterfeiter:generate .

# Type aliases

No description provided by the author