bootstrap

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cron *cron.Cron

Functions

func CheckUpdate added in v0.1.3

func CheckUpdate()

check update

func InitAliDrive

func InitAliDrive() bool

init aliyun drive

func InitClient

func InitClient()

init request client

func InitCron

func InitCron()

init cron jobs

func InitDriveId added in v1.0.1

func InitDriveId(drive *conf.Drive) bool

func InitLog

func InitLog()

init logrus

func InitModel added in v1.0.0

func InitModel() bool

func ReadConf

func ReadConf(config string) bool

read config file

func Run

func Run()

bootstrap run

func Write added in v1.0.5

func Write(path string) bool

Types

type GithubRelease added in v0.1.3

type GithubRelease struct {
	TagName string `json:"tag_name"`
	HtmlUrl string `json:"html_url"`
	Body    string `json:"body"`
}

github release response bean

Jump to

Keyboard shortcuts

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