Documentation ¶
Index ¶
Constants ¶
View Source
const ( DistinctChannelPrefix = "!members-" DefaultMaxMessageLength = 20_000 )
View Source
const ( TypeMessageRegular string = "regular" TypeMessageDeleted string = "deleted" TypeMessageSystem string = "system" TypeMessageReply string = "reply" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(r io.ReadSeeker) *Decoder
type ItemError ¶
type ItemError struct {
// contains filtered or unexported fields
}
func (ItemError) MarshalJSON ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func New ¶
func New(r io.ReadSeeker, roles []*streamchat.Role, channelTypes channelTypeMap) *Validator
Click to show internal directories.
Click to hide internal directories.