gdb

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LISTEN = "listen"
	HAPPEN = "happen"

	START   = "start"
	RESTART = "restart"
	STOP    = "stop"
	ERROR   = "error"
	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: "事件模块", Commands: ice.Commands{
	ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { ice.Info.Load(m, TIMER, ROUTINE) }},
	ice.CTX_EXIT: {Hand: func(m *ice.Message, arg ...string) { ice.Info.Save(m, TIMER, ROUTINE) }},
}}

Functions

func Event added in v1.3.0

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

func SignalNotify

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

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) ice.Server

func (*Frame) Close

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

func (*Frame) Spawn

func (f *Frame) Spawn(m *ice.Message, c *ice.Context, arg ...string) ice.Server

func (*Frame) Start

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

Jump to

Keyboard shortcuts

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