models

package
v0.0.0-...-9615aeb Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallBack

type CallBack struct {
	CallBackURL string `json:"callback_url"`
}

CallBack is for worker-B

type Job

type Job struct {
	ID        uuid.UUID   `json:"uuid"`
	Type      string      `json:"type"`
	ExtraData interface{} `json:"extra_data"`
}

Job represents UUID of a Job

type Log

type Log struct {
	ClientTime time.Time `json:"client_time"`
}

Log is for Worker-A

type Mail

type Mail struct {
	EmailAddress string `json:"email_address"`
}

Mail is for worker-C

Jump to

Keyboard shortcuts

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