package
0.0.0-20181129230153-438437361058
Repository: https://github.com/adamjacobmuller/cfssl.git
Documentation: pkg.go.dev
# README
Compiling and serving static files using esc
go install github.com/mjibson/esc
# Compile changes to static files
cd $GOPATH/src/github.com/cloudflare/cfssl
esc -pkg serve -prefix cli/serve/static cli/serve/static > cli/serve/static.go
# Build and run CFSSL
go build ./cmd/cfssl/...
./cfssl serve
# Functions
SetEndpoint can be used to add additional routes/endpoints to the HTTP server, or to override an existing route/endpoint.
SetWrapHandler sets the wrap handler which is called for all endpoints A custom wrap handler may be provided in order to add arbitrary server-side pre or post processing of server-side HTTP handling of requests.
# Variables
Command assembles the definition of Command 'serve'.
V1APIPrefix is the prefix of all CFSSL V1 API Endpoints.