Documentation ¶
Index ¶
Constants ¶
View Source
const ( VarScopeProcess varScope = 0 VarScopeSession varScope = 1 VarScopeTransaction varScope = 2 VarScopeRequest varScope = 3 VarScopeResponse varScope = 4 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionSetVar ¶
type ActionSetVar struct { Name string Scope varScope Value interface{} }
type ActionUnsetVar ¶
type ActionUnsetVar struct { Name string Scope varScope }
type Agent ¶
type Agent struct { Handler Handler // contains filtered or unexported fields }
func NewWithConfig ¶
func (*Agent) ListenAndServe ¶
type ArgIterator ¶ added in v1.0.0
type ArgIterator struct { Arg Arg // contains filtered or unexported fields }
func (*ArgIterator) Count ¶ added in v1.0.2
func (i *ArgIterator) Count() int
func (*ArgIterator) Map ¶ added in v1.0.0
func (i *ArgIterator) Map() map[string]interface{}
func (*ArgIterator) Next ¶ added in v1.0.0
func (i *ArgIterator) Next() bool
type Handler ¶
type Handler func(msgs *MessageIterator) ([]Action, error)
type Message ¶
type Message struct { Name string Args *ArgIterator }
type MessageIterator ¶ added in v1.0.0
type MessageIterator struct { Message Message // contains filtered or unexported fields }
func NewMessageIterator ¶ added in v1.0.8
func NewMessageIterator(b []byte) *MessageIterator
func (*MessageIterator) Error ¶ added in v1.0.0
func (i *MessageIterator) Error() error
func (*MessageIterator) Next ¶ added in v1.0.0
func (i *MessageIterator) Next() bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.