lib

package
v0.0.0-...-133e101 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RuntimeDir = "./runtime"

Variables

View Source
var ChapterFetchChan = make(chan *model.Chapter, 10)
View Source
var Config struct {
	Storage struct {
		Host     string `yaml:"host"`
		Port     string `yaml:"port"`
		Database string `yaml:"database"`
		Username string `yaml:"username"`
		Password string `yaml:"password"`
	} `yaml:"storage"`
	Log struct {
		File  string `yaml:"file"`
		Level string `yaml:"level"`
	} `yaml:"log"`
}
View Source
var MobiGenerateChan = make(chan *model.Mobi, 5)
View Source
var Mutex *sync.Mutex

Mutex is global mutex lock for control chromedp operating

Functions

func DownloadPicture

func DownloadPicture(picture *model.Picture)

func InitLogrus

func InitLogrus()

func XEngine

func XEngine() *xorm.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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