Documentation ¶
Index ¶
- type AuthenticateEntry
- func (a AuthenticateEntry) Convert() cchat.AuthenticateEntry
- func (z *AuthenticateEntry) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *AuthenticateEntry) EncodeMsg(en *msgp.Writer) (err error)
- func (z *AuthenticateEntry) MarshalMsg(b []byte) (o []byte, err error)
- func (z *AuthenticateEntry) Msgsize() (s int)
- func (z *AuthenticateEntry) UnmarshalMsg(bts []byte) (o []byte, err error)
- type CompletionEntry
- func (c CompletionEntry) Convert() cchat.CompletionEntry
- func (z *CompletionEntry) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *CompletionEntry) EncodeMsg(en *msgp.Writer) (err error)
- func (z *CompletionEntry) MarshalMsg(b []byte) (o []byte, err error)
- func (z *CompletionEntry) Msgsize() (s int)
- func (z *CompletionEntry) UnmarshalMsg(bts []byte) (o []byte, err error)
- type ErrInvalidConfigAtField
- func (e ErrInvalidConfigAtField) Convert() cchat.ErrInvalidConfigAtField
- func (z *ErrInvalidConfigAtField) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *ErrInvalidConfigAtField) EncodeMsg(en *msgp.Writer) (err error)
- func (z *ErrInvalidConfigAtField) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ErrInvalidConfigAtField) Msgsize() (s int)
- func (z *ErrInvalidConfigAtField) UnmarshalMsg(bts []byte) (o []byte, err error)
- type MessageAttachment
- func (m MessageAttachment) Convert() cchat.MessageAttachment
- func (z *MessageAttachment) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *MessageAttachment) EncodeMsg(en *msgp.Writer) (err error)
- func (z *MessageAttachment) MarshalMsg(b []byte) (o []byte, err error)
- func (z *MessageAttachment) Msgsize() (s int)
- func (z *MessageAttachment) UnmarshalMsg(bts []byte) (o []byte, err error)
- type TextRich
- func (t TextRich) Convert() text.Rich
- func (z *TextRich) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *TextRich) EncodeMsg(en *msgp.Writer) (err error)
- func (z *TextRich) MarshalMsg(b []byte) (o []byte, err error)
- func (z *TextRich) Msgsize() (s int)
- func (z *TextRich) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateEntry ¶
type AuthenticateEntry struct { Name string `msg:"name"` Placeholder string `msg:"placeholder"` Description string `msg:"description"` Secret bool `msg:"secret"` Multiline bool `msg:"multiline"` }
func (AuthenticateEntry) Convert ¶
func (a AuthenticateEntry) Convert() cchat.AuthenticateEntry
func (*AuthenticateEntry) DecodeMsg ¶
func (z *AuthenticateEntry) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*AuthenticateEntry) EncodeMsg ¶
func (z *AuthenticateEntry) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*AuthenticateEntry) MarshalMsg ¶
func (z *AuthenticateEntry) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*AuthenticateEntry) Msgsize ¶
func (z *AuthenticateEntry) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*AuthenticateEntry) UnmarshalMsg ¶
func (z *AuthenticateEntry) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type CompletionEntry ¶
type CompletionEntry struct { Raw string `msg:"raw"` Text TextRich `msg:"text"` Secondary TextRich `msg:"secondary"` IconURL string `msg:"icon_url"` Image bool `msg:"image"` }
func (CompletionEntry) Convert ¶
func (c CompletionEntry) Convert() cchat.CompletionEntry
func (*CompletionEntry) DecodeMsg ¶
func (z *CompletionEntry) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*CompletionEntry) EncodeMsg ¶
func (z *CompletionEntry) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*CompletionEntry) MarshalMsg ¶
func (z *CompletionEntry) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*CompletionEntry) Msgsize ¶
func (z *CompletionEntry) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*CompletionEntry) UnmarshalMsg ¶
func (z *CompletionEntry) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ErrInvalidConfigAtField ¶
func (ErrInvalidConfigAtField) Convert ¶
func (e ErrInvalidConfigAtField) Convert() cchat.ErrInvalidConfigAtField
func (*ErrInvalidConfigAtField) DecodeMsg ¶
func (z *ErrInvalidConfigAtField) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*ErrInvalidConfigAtField) EncodeMsg ¶
func (z *ErrInvalidConfigAtField) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*ErrInvalidConfigAtField) MarshalMsg ¶
func (z *ErrInvalidConfigAtField) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ErrInvalidConfigAtField) Msgsize ¶
func (z *ErrInvalidConfigAtField) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ErrInvalidConfigAtField) UnmarshalMsg ¶
func (z *ErrInvalidConfigAtField) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type MessageAttachment ¶
func (MessageAttachment) Convert ¶
func (m MessageAttachment) Convert() cchat.MessageAttachment
func (*MessageAttachment) DecodeMsg ¶
func (z *MessageAttachment) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*MessageAttachment) EncodeMsg ¶
func (z *MessageAttachment) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*MessageAttachment) MarshalMsg ¶
func (z *MessageAttachment) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*MessageAttachment) Msgsize ¶
func (z *MessageAttachment) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*MessageAttachment) UnmarshalMsg ¶
func (z *MessageAttachment) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type TextRich ¶
type TextRich struct { Content string `msg:"content"` Segments []TextSegment `msg:"segments"` }
func (*TextRich) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler