domain

package
v0.0.0-...-63d1355 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventKind

type EventKind string
const (
	Command EventKind = "command"
	Inbox   EventKind = "inbox"
	Outbox  EventKind = "outbox"
)

func (EventKind) String

func (k EventKind) String() string

type EventType

type EventType uint8
const (
	MessageInbox  EventType = 0 + iota // msg_outbox
	MessageOutbox                      // msg_outbox
	ReplyInbox                         // reply_inbox
	ReplyOutbox                        // reply_outbox
	StartCommand                       // start_command
	HelpCommand                        // help_command
)

func TypeByNameKind

func TypeByNameKind(name string, kind EventKind) EventType

func (EventType) Kind

func (i EventType) Kind() EventKind

func (EventType) Name

func (i EventType) Name() string

func (EventType) String

func (i EventType) String() string

Jump to

Keyboard shortcuts

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