gdb

package
v1.9.21 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LISTEN = "listen"
	HAPPEN = "happen"
)
View Source
const (
	DEBUG   = "debug"
	ERROR   = "error"
	START   = "start"
	RESTART = "restart"
	STOP    = "stop"
	KILL    = "kill"
)
View Source
const (
	DELAY    = "delay"
	INTERVAL = "interval"
	TICK     = "tick"
)
View Source
const EVENT = "event"
View Source
const GDB = "gdb"
View Source
const (
	PID = "pid"
)
View Source
const ROUTINE = "routine"
View Source
const SIGNAL = "signal"
View Source
const TIMER = "timer"

Variables

View Source
var Index = &ice.Context{Name: GDB, Help: "事件模块"}

Functions

func Event added in v1.3.0

func Event(m *ice.Message, key string, arg ...ice.Any) *ice.Message

func EventDeferEvent added in v1.4.4

func EventDeferEvent(m *ice.Message, key string, arg ...ice.Any) func(string, ...ice.Any)

func EventsAction added in v1.4.4

func EventsAction(arg ...string) ice.Actions

func Go added in v1.5.5

func Go(m *ice.Message, cb ice.Any, arg ...string)

func Prefix added in v1.8.0

func Prefix(arg ...string) string

func SignalNotify

func SignalNotify(m *ice.Message, sig syscall.Signal, cb func())

func SignalProcess added in v1.8.9

func SignalProcess(m *ice.Message, pid string) bool

func WaitEvent added in v1.8.2

func WaitEvent(m *ice.Message, key string, cb func(*ice.Message, ...string) bool)

func Watch added in v1.3.0

func Watch(m *ice.Message, key string, arg ...string) *ice.Message

Types

type Frame

type Frame struct {
	// contains filtered or unexported fields
}

func (*Frame) Begin

func (f *Frame) Begin(m *ice.Message, arg ...string)

func (*Frame) Close

func (f *Frame) Close(m *ice.Message, arg ...string)

func (*Frame) Start

func (f *Frame) Start(m *ice.Message, arg ...string)

Jump to

Keyboard shortcuts

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