httpstream

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogSourceChan = make(chan *event.ProcessorEvent)

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr string `toml:"addr"`
}

func (*Config) ConfigValidate

func (c *Config) ConfigValidate() error

type HttpStream

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

func NewHttpStream

func NewHttpStream(config *Config) (httpStream *HttpStream, err error)

initlogStream init log stream

func (*HttpStream) LogStreamer

func (s *HttpStream) LogStreamer() func(w http.ResponseWriter, req *http.Request)

LogStreamer 接收请求

Jump to

Keyboard shortcuts

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