{"modulePath":"github.com/pipeproxy/pipe","version":"v0.7.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package protocol\n\n## Types\n\n```go\ntype Handler interface {\n\tServeProtocol(ctx context.Context, ptc Protocol)\n}\n```\n\n```go\ntype Map interface {\n\tAdd(key string, value string)\n\tSet(key string, values []string)\n\tGet(key string) []string\n\tDel(key string)\n\tRange(func(key string, values []string) bool)\n\tClone() Map\n}\n```\n\n```go\ntype Protocol interface {\n\tWriteHeader(Map) error\n\tWriteBody(interface{}) error\n\tReadHeader(Map) error\n\tReadBody(interface{}) error\n\tClose() error\n}\n```\n\n","path":"github.com/pipeproxy/pipe/components/protocol","name":"protocol","synopsis":"","isRedistributable":true}
