Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository() *Repository
func (*Repository) Add ¶
func (r *Repository) Add(message *message.UserMessage)
Add adds a message to the repository's clients channel
func (*Repository) Get ¶
func (r *Repository) Get() *message.UserMessage
Get returns a message from the repository's clients channel
Click to show internal directories.
Click to hide internal directories.