tawa

package
v0.0.0-...-1131525 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: LGPL-2.1 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Variables map[string]interface{} `json:"variables"`
	Tags      []string               `json:"tags"`
	Playbook  string                 `json:"playbook"`
	Hosts     []string               `json:"hosts"`
	Callback  string                 `json:"callback"`
	Id        string                 `json:"id"`
}

type Response

type Response struct {
	Id   uuid.UUID
	Chan chan interface{}
}

type Tawa

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

func New

func New(url string) (*Tawa, error)

func (*Tawa) Send

func (t *Tawa) Send(msg *Event) (*Response, error)

Jump to

Keyboard shortcuts

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