pipe

package module
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 12 Imported by: 0

README

Pipe

Build Status Go Report Card GoDoc Docker Automated build GitHub license

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.

Documentation

Index

Constants

View Source
const (
	Name    = "Pipe"
	Version = "v0.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (c *Pipe) Config() []byte

func (*Pipe) Reload

func (c *Pipe) Reload(config []byte) error

func (*Pipe) Run

func (c *Pipe) Run() error

func (*Pipe) Start

func (c *Pipe) Start() error

func (*Pipe) Wait

func (c *Pipe) Wait() error

Directories

Path Synopsis
cmd
components
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
common/gen/io/reader
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
common/gen/io/writer
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
common/gen/net/conn
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
common/gen/net/http/handler
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
common/gen/net/packetconn
DO NOT EDIT! Code generated.
DO NOT EDIT! Code generated.
tls
hack
Code generated.
Code generated.
internal
gcd
log

Jump to

Keyboard shortcuts

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