internal

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWorkersLimit

func GetWorkersLimit(qSize int) int

GetWorkersLimit returns workers limit according file descriptors (Rlimit / 2) for mac \ linux todo: cleanup required

func RunDevelopmentWebserver

func RunDevelopmentWebserver()

func WatchForChangedFiles

func WatchForChangedFiles(rebuildBlog func())

Types

type Opts

type Opts struct {
	Version   bool
	WatchMode bool
	Path      string
}

func GetCLIOptions

func GetCLIOptions() Opts

GetCLIOptions parse CLI args and make Opts

Jump to

Keyboard shortcuts

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