Documentation ¶
Index ¶
Constants ¶
View Source
const (
EventProcessorHandleEvent = "EventServer.HandleEvent"
)
String constants that can be used while making an RPC call.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor interface { // HandleEvent Gets called when clients generate events. HandleEvent(eventInfo *events.EventInfo, result *events.EventResponse) error }
Processor is an interface that can be invoked over RPC.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the Monitor RPC Server implementation
func (*Server) HandleEvent ¶
HandleEvent Gets called when clients generate events.
Click to show internal directories.
Click to hide internal directories.