eventsserver

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(virtShareDir string, stopChan chan struct{}, c chan watch.Event) error

Types

type Args

type Args struct {
	DomainJSON string
	StatusJSON string
	EventType  string
}

type Notify

type Notify struct {
	EventChan chan watch.Event
}

func (*Notify) DomainEvent

func (s *Notify) DomainEvent(args *Args, reply *Reply) error

type Reply

type Reply struct {
	Success bool
	Message string
}

Jump to

Keyboard shortcuts

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