common

package
v0.0.0-...-b61ab3e Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2014 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProxyTransmit                      = "ProxyTransmit"
	SubscriberTransmit                 = "SubscriberTransmit"
	SubscriberReceive                  = "SubscriberReceive"
	SubscriberLog                      = "SubscriberLog"
	ConsumerConsume                    = "ConsumerConsume"
	ConsumerInterruptConsumption       = "ConsumerInterruptConsumption"
	InterruptorInterruptedConsumption  = "InterruptorInterruptedConsumption"
	InterruptorInterruptedTransmission = "InterruptorInterruptedTransmission"
	ControllerInterruptTransmission    = "ControllerInterruptTransmission"
)

Variables

View Source
var (
	Proxy      = "%v_moxie_Proxy"
	Consumer   = "%v_moxie_Consumer"
	Subscriber = "%v_moxie_Subscriber"
	Controller = "%v_moxie_Controller"
)

Functions

This section is empty.

Types

type CompleteNode

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

func (*CompleteNode) Complete

func (self *CompleteNode) Complete(b []byte) (result []byte, found bool)

func (*CompleteNode) Insert

func (self *CompleteNode) Insert(b []byte) (result *CompleteNode)

func (*CompleteNode) String

func (self *CompleteNode) String() string

type ConsumptionInterrupt

type ConsumptionInterrupt struct {
	Name    string
	Addr    string
	Pattern string
	Times   int
	// contains filtered or unexported fields
}

func (*ConsumptionInterrupt) Compiled

func (self *ConsumptionInterrupt) Compiled() (result *regexp.Regexp, err error)

func (*ConsumptionInterrupt) FindMatch

func (self *ConsumptionInterrupt) FindMatch(s string) (before, content, after string, found bool, err error)

type InterruptedConsumption

type InterruptedConsumption struct {
	Name    string
	Content string
}

type InterruptedTransmission

type InterruptedTransmission struct {
	Name  string
	Match []string
}

type TransmissionInterrupt

type TransmissionInterrupt struct {
	Name    string
	Addr    string
	Pattern string
	// contains filtered or unexported fields
}

func (*TransmissionInterrupt) Compiled

func (self *TransmissionInterrupt) Compiled() (result *regexp.Regexp, err error)

Jump to

Keyboard shortcuts

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