typ

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExcelMetadata

type ExcelMetadata struct {
	Name  string   `msgpack:"name"`
	Parts []string `msgpack:"parts"`
}

type ExcelSheets

type ExcelSheets map[string][][]interface{}

type HttpOption

type HttpOption struct {
	Url     string                 `json:"url" msgpack:"url"`
	Headers map[string]string      `json:"headers" msgpack:"headers"`
	Body    map[string]interface{} `json:"body" msgpack:"body"`
}

type Job

type Job struct {
	Key    string      `msgpack:"key"`
	Index  int         `msgpack:"index"`
	Mode   string      `msgpack:"mode"`
	Option interface{} `msgpack:"option"`
}

type ScheduleJob

type ScheduleJob struct {
	Mode          string      `json:"mode" msgpack:"mode"`
	Spec          string      `json:"spec" msgpack:"spec"`
	Option        interface{} `json:"option" msgpack:"option"`
	ScheduleState `json:"schedule_state" msgpack:"state"`
}

type ScheduleOption

type ScheduleOption struct {
	Status bool          `json:"status" msgpack:"status" `
	Jobs   []ScheduleJob `json:"jobs" msgpack:"jobs" `
}

type ScheduleState

type ScheduleState struct {
	Next time.Time `json:"next" msgpack:"next"`
	Prev time.Time `json:"prev" msgpack:"prev"`
}

type ScheduleStatus

type ScheduleStatus struct {
	Key   string `msgpack:"key"`
	Value bool   `msgpack:"value"`
}

Jump to

Keyboard shortcuts

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