messages

package
v0.0.0-...-8151021 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: ISC Imports: 4 Imported by: 0

Documentation

Index

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 (*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 (*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

type ErrInvalidConfigAtField struct {
	Key string     `msg:"key"`
	Err core.Error `msg:"err"`
}

func (ErrInvalidConfigAtField) Convert

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

type MessageAttachment struct {
	Reader core.Reader `msg:"reader"`
	Name   string      `msg:"name"`
}

func (MessageAttachment) Convert

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) Convert

func (t TextRich) Convert() text.Rich

func (*TextRich) DecodeMsg

func (z *TextRich) DecodeMsg(dc *msgp.Reader) (err error)

DecodeMsg implements msgp.Decodable

func (*TextRich) EncodeMsg

func (z *TextRich) EncodeMsg(en *msgp.Writer) (err error)

EncodeMsg implements msgp.Encodable

func (*TextRich) MarshalMsg

func (z *TextRich) MarshalMsg(b []byte) (o []byte, err error)

MarshalMsg implements msgp.Marshaler

func (*TextRich) Msgsize

func (z *TextRich) Msgsize() (s int)

Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message

func (*TextRich) UnmarshalMsg

func (z *TextRich) UnmarshalMsg(bts []byte) (o []byte, err error)

UnmarshalMsg implements msgp.Unmarshaler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL