Documentation ¶
Overview ¶
Package serve implements the serve command for CFSSL's API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{UsageText: serverUsageText, Flags: serverFlags, Main: serverMain}
CLIServer assembles the definition of Command 'serve'
Functions ¶
func FS ¶
func FS(useLocal bool) http.FileSystem
FS returns a http.Filesystem for the embedded assets. If useLocal is true, the filesystem's contents are instead used.
func FSByte ¶
FSByte returns the named file from the embedded assets. If useLocal is true, the filesystem's contents are instead used.
func FSMustByte ¶
FSMustByte is the same as FSByte, but panics if name is not present.
func FSMustString ¶
FSMustString is the string version of FSMustByte.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.