commands

package
v0.0.3-0...-d907587 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteTicket

func CompleteTicket(eventChan chan<- events.Event, state *projection.State) http.Handler

CompleteTicket as an HTTP handler that sends a TicketComplete to the event dispatcher.

func CreateTicket

func CreateTicket(eventChan chan<- events.Event) http.Handler

CreateTicket as an HTTP handler that sends a TicketIssued to the event dispatcher.

func PayForTicket

func PayForTicket(eventChan chan<- events.Event, state *projection.State) http.Handler

PayForTicket as an HTTP handler that sends a TicketPaid to the event dispatcher.

Types

This section is empty.

Jump to

Keyboard shortcuts

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