type WarningHandler …
var defaultWarningHandler …
var defaultWarningHandlerLock …
func SetDefaultWarningHandler(l WarningHandler) { … }
func getDefaultWarningHandler() WarningHandler { … }
type NoWarnings …
func (NoWarnings) HandleWarningHeader(code int, agent string, message string) { … }
type WarningLogger …
func (WarningLogger) HandleWarningHeader(code int, agent string, message string) { … }
type warningWriter …
type WarningWriterOptions …
func NewWarningWriter(out io.Writer, opts WarningWriterOptions) *warningWriter { … }
const yellowColor …
const resetColor …
func (w *warningWriter) HandleWarningHeader(code int, agent string, message string) { … }
func (w *warningWriter) WarningCount() int { … }
func handleWarnings(headers http.Header, handler WarningHandler) []net.WarningHeader { … }