Documentation ¶
Overview ¶
Simple in-memory worker & queue
Index ¶
- Constants
- func CreateServerLog(serverRecord *models.Record, msgType string, message string, payload string) error
- func SaveServerLog(message ServerLog) error
- func SetApplication(application core.App)
- func StartWorker(application core.App)
- func SubmitAndForget(work Work)
- func SubmitAndWait(work Work)
- type AuthorizedKey
- type ServerLog
- type SyncServerWork
- type Work
Constants ¶
View Source
const AUTHORIZED_KEYS_END_MARKER = "# <=== ssh-authorized-manager END marker ==="
View Source
const AUTHORIZED_KEYS_START_MARKER = "# === ssh-authorized-manager START marker ===>"
Variables ¶
This section is empty.
Functions ¶
func CreateServerLog ¶
func SaveServerLog ¶
func SetApplication ¶
func StartWorker ¶
func SubmitAndForget ¶
func SubmitAndForget(work Work)
func SubmitAndWait ¶
func SubmitAndWait(work Work)
Types ¶
type AuthorizedKey ¶
func (AuthorizedKey) Serialize ¶
func (key AuthorizedKey) Serialize() string
type SyncServerWork ¶
func (*SyncServerWork) Execute ¶
func (work *SyncServerWork) Execute() error
func (*SyncServerWork) Name ¶
func (work *SyncServerWork) Name() string
Click to show internal directories.
Click to hide internal directories.