httplog

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package httplog to log http request

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPLogger

type HTTPLogger struct {
	// contains filtered or unexported fields
}

HTTPLogger ...

func New

func New(logger *log.Logger) *HTTPLogger

New func: generate a new HTTPLogger

func (*HTTPLogger) Enable added in v1.1.0

func (h *HTTPLogger) Enable(enabled bool)

Enable ...

func (*HTTPLogger) Enabled added in v1.1.0

func (h *HTTPLogger) Enabled() bool

Enabled ...

func (*HTTPLogger) Handle

func (h *HTTPLogger) Handle(ctx *plugin.Context)

Handle ...

func (*HTTPLogger) Name added in v1.1.0

func (h *HTTPLogger) Name() string

Name ...

func (*HTTPLogger) Status added in v1.1.0

func (h *HTTPLogger) Status() plugin.PlgStatus

Status ...

Jump to

Keyboard shortcuts

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