Documentation
¶
Index ¶
- type Action
- type Actions
- type Binary
- type BinaryGZ
- type Call
- type CallParams
- type DoorReplace
- type DoorUpdate
- type DynaRemove
- type DynaSet
- type Emit
- type Indicate
- type Invocation
- type JSON
- type JSONGZ
- type LocationAssign
- type LocationReload
- type LocationReplace
- type Payload
- func IntoPayload(v any, gz bool) (Payload, error)
- func NewBinary(v []byte) Payload
- func NewBinaryGZ(v []byte) Payload
- func NewEmptyPayload() Payload
- func NewJSON(v []byte) Payload
- func NewJSONGZ(v []byte) Payload
- func NewNone() Payload
- func NewText(v string) Payload
- func NewTextBytes(text []byte) Payload
- func NewTextGZ(v []byte) Payload
- type PayloadType
- type ReportHook
- type Scroll
- type SetPath
- type Test
- type Text
- type TextBytes
- type TextGZ
- type UpdateMeta
- type UpdateTitle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface {
Invocation() Invocation
Log() string
}
type Call ¶
type Call interface {
Params() CallParams
Action() (Action, bool)
Cancel()
Result(json.RawMessage, error)
}
type CallParams ¶
type DoorReplace ¶
func (DoorReplace) Invocation ¶
func (a DoorReplace) Invocation() Invocation
func (DoorReplace) Log ¶
func (a DoorReplace) Log() string
type DoorUpdate ¶
func (DoorUpdate) Invocation ¶
func (a DoorUpdate) Invocation() Invocation
func (DoorUpdate) Log ¶
func (a DoorUpdate) Log() string
type DynaRemove ¶
type DynaRemove struct {
ID uint64
}
func (DynaRemove) Invocation ¶
func (a DynaRemove) Invocation() Invocation
func (DynaRemove) Log ¶
func (a DynaRemove) Log() string
type DynaSet ¶
func (DynaSet) Invocation ¶
func (a DynaSet) Invocation() Invocation
type Emit ¶
func (Emit) Invocation ¶
func (a Emit) Invocation() Invocation
type Indicate ¶
func (Indicate) Invocation ¶
func (a Indicate) Invocation() Invocation
type Invocation ¶
type Invocation struct {
// contains filtered or unexported fields
}
func (Invocation) Func ¶
func (a Invocation) Func() []any
func (Invocation) MarshalJSON ¶
func (a Invocation) MarshalJSON() ([]byte, error)
func (Invocation) Payload ¶
func (a Invocation) Payload() Payload
type LocationAssign ¶
func (LocationAssign) Invocation ¶
func (a LocationAssign) Invocation() Invocation
func (LocationAssign) Log ¶
func (a LocationAssign) Log() string
type LocationReload ¶
type LocationReload struct{}
func (LocationReload) Invocation ¶
func (a LocationReload) Invocation() Invocation
func (LocationReload) Log ¶
func (a LocationReload) Log() string
type LocationReplace ¶
func (LocationReplace) Invocation ¶
func (a LocationReplace) Invocation() Invocation
func (LocationReplace) Log ¶
func (a LocationReplace) Log() string
type Payload ¶
type Payload struct {
// contains filtered or unexported fields
}
func NewBinaryGZ ¶
func NewEmptyPayload ¶
func NewEmptyPayload() Payload
func NewTextBytes ¶
func (Payload) MarshalJSON ¶
func (Payload) Type ¶
func (p Payload) Type() PayloadType
type PayloadType ¶
type PayloadType int
const ( PayloadNone PayloadType = 0x00 PayloadBinary PayloadType = 0x01 PayloadJSON PayloadType = 0x02 PayloadText PayloadType = 0x03 PayloadBinaryGZ PayloadType = 0x11 PayloadJSONGZ PayloadType = 0x12 PayloadTextGZ PayloadType = 0x13 )
type ReportHook ¶
type ReportHook struct {
HookId uint64
}
func (ReportHook) Invocation ¶
func (a ReportHook) Invocation() Invocation
func (ReportHook) Log ¶
func (a ReportHook) Log() string
type Scroll ¶
func (Scroll) Invocation ¶
func (a Scroll) Invocation() Invocation
type SetPath ¶
func (SetPath) Invocation ¶
func (a SetPath) Invocation() Invocation
type Test ¶
type Test struct {
Arg any
}
func (Test) Invocation ¶
func (a Test) Invocation() Invocation
type UpdateMeta ¶
func (UpdateMeta) Invocation ¶
func (u UpdateMeta) Invocation() Invocation
func (UpdateMeta) Log ¶
func (u UpdateMeta) Log() string
type UpdateTitle ¶
func (UpdateTitle) Invocation ¶
func (u UpdateTitle) Invocation() Invocation
func (UpdateTitle) Log ¶
func (u UpdateTitle) Log() string
Click to show internal directories.
Click to hide internal directories.