README ¶ Pipe Pipe is a Network Middleware Engine. Split all functions into minimal and assemble according to configuration. License Pouch is licensed under the MIT License. See LICENSE for the full license text. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants type Config type Pipe func GetPipeWithContext(ctx context.Context) (*Pipe, bool) func NewPipeWithConfig(ctx context.Context, config []byte) (*Pipe, error) func (c *Pipe) Close() error func (c *Pipe) Config() []byte func (c *Pipe) Reload(config []byte) error func (c *Pipe) Run() error Constants ¶ View Source const ( Name = "Pipe" Version = "v0.0.0" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Components []interface{} Pipe service.Service Init []once.Once } type Pipe ¶ type Pipe struct { // contains filtered or unexported fields } func GetPipeWithContext ¶ func GetPipeWithContext(ctx context.Context) (*Pipe, bool) func NewPipeWithConfig ¶ func NewPipeWithConfig(ctx context.Context, config []byte) (*Pipe, error) func (*Pipe) Close ¶ func (c *Pipe) Close() error func (*Pipe) Config ¶ added in v0.0.3 func (c *Pipe) Config() []byte func (*Pipe) Reload ¶ func (c *Pipe) Reload(config []byte) error func (*Pipe) Run ¶ func (c *Pipe) Run() error Source Files ¶ View all Source files config.go pipe.go version.go Directories ¶ Show internal Expand all Path Synopsis bind build cmd pipe codec base32 base64 bzip2 gzip hex json configure manager dialer network poller tls hack bind http add_request_header add_response_header compress config_dump direct expvar file forward h2c log multi mux poller pprof redirect remove_request_header remove_response_header template weighted init input file inline internal gcd network notify pool listener multi network tls once message output file packet protocol service multi server stream forward http multi mux mux/pattern poller tls weighted tls acme from self_signed Click to show internal directories. Click to hide internal directories.