Versions in this module Expand all Collapse all v0 v0.9.0 Apr 4, 2019 Changes in this version + const HeaderCompleteResponseValue + const HeaderIncompleteResponseValue + var CompleteResponseHeaderName = "X-KrakenD-Completed" + var ErrInternalError = errors.New("internal server error") + var ErrPrivateKey = errors.New("private key not defined") + var ErrPublicKey = errors.New("public key not defined") + var HeadersToSend = []string + var UserAgentHeaderValue = []string + func DefaultToHTTPError(_ error) int + func InitHTTPDefaultTransport(cfg config.ServiceConfig) + func NewServer(cfg config.ServiceConfig, handler http.Handler) *http.Server + func ParseTLSConfig(cfg *config.TLS) *tls.Config + func RunServer(ctx context.Context, cfg config.ServiceConfig, handler http.Handler) error + type ToHTTPError func(error) int