eventsserver

package
v0.10.0 Latest Latest
Warning

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

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

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