package
0.0.0-20210812091234-6513b377aba0
Repository: https://github.com/diamondburned/cchat-gtk.git
Documentation: pkg.go.dev

# Functions

NewAuthor creates a new Author that is a copy of the given author.
NewCustomAuthor creates a new Author from the given parameters.
NewEmptyState creates a new empty message state.
NewPresendState creates a new presend state.
NewState creates a new message state with the given MessageCreate.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

Author implements cchat.Author.
PresendState is the generic state with extra methods implemented for stateful mutability of the generic message state.
State provides a single generic message container for subpackages to use.

# Interfaces

Container describes a message container that wraps a state.
Presender describes actions doable on a presend message container.
PresendMessage is an interface for any message about to be sent.