Versions in this module Expand all Collapse all v0 v0.5.1 Feb 1, 2018 Changes in this version + const REST_CORS_PREFIX + func NewFactory(md *trigger.Metadata) trigger.Factory + type IDResponse struct + ID string + type RestFactory struct + func (t *RestFactory) New(config *trigger.Config) trigger.Trigger + type RestTrigger struct + func (t *RestTrigger) Init(runner action.Runner) + func (t *RestTrigger) Metadata() *trigger.Metadata + func (t *RestTrigger) Start() error + func (t *RestTrigger) Stop() error + type Server struct + func NewServer(addr string, handler http.Handler) *Server + func (s *Server) InstanceID() string + func (s *Server) IsStarted() bool + func (s *Server) Start() error + func (s *Server) Stop() error + func (s *Server) WaitStop(timeout time.Duration) error