server

package
v0.0.0-...-3e9cf14 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJobHttpClient

func NewJobHttpClient(callback, topic string, data []byte) core.Job

Types

type HttpServer

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

func NewHttpServer

func NewHttpServer(c *core.SchedulerConfig) *HttpServer

func (*HttpServer) Start

func (p *HttpServer) Start() (err error)

type JobHttp

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

func (*JobHttp) Marshal

func (p *JobHttp) Marshal() ([]byte, error)

func (*JobHttp) Run

func (p *JobHttp) Run() (err error)

func (*JobHttp) String

func (p *JobHttp) String() string

func (*JobHttp) Unique

func (p *JobHttp) Unique() []byte

func (*JobHttp) Unmarshal

func (p *JobHttp) Unmarshal(bs []byte) error

Jump to

Keyboard shortcuts

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