muksevt

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventBadEncrypted = event.Type{Type: "net.maunium.gomuks.bad_encrypted", Class: event.MessageEventType}
View Source
var EventEncryptionUnsupported = event.Type{Type: "net.maunium.gomuks.encryption_unsupported", Class: event.MessageEventType}

Functions

This section is empty.

Types

type BadEncryptedContent added in v0.1.1

type BadEncryptedContent struct {
	Original *event.EncryptedEventContent `json:"-"`

	Reason string `json:"-"`
}

type EncryptionUnsupportedContent added in v0.1.1

type EncryptionUnsupportedContent struct {
	Original *event.EncryptedEventContent `json:"-"`
}

type Event

type Event struct {
	*event.Event
	Gomuks GomuksContent `json:"-"`
}

func Wrap

func Wrap(event *event.Event) *Event

func (*Event) SomewhatDangerousCopy

func (evt *Event) SomewhatDangerousCopy() *Event

type GomuksContent

type GomuksContent struct {
	OutgoingState OutgoingState
	Edits         []*Event
}

type OutgoingState

type OutgoingState int
const (
	StateDefault OutgoingState = iota
	StateLocalEcho
	StateSendFail
)

Jump to

Keyboard shortcuts

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