protocol should be pkg
This commit is contained in:
@@ -16,6 +16,11 @@ func New(ctx context.Context, src raw.Raw) Wrap {
|
||||
maker := func() Wrap {
|
||||
return explicit{src: src}
|
||||
}
|
||||
if os.Getenv("WRAP_PROTOCOL") == "true" {
|
||||
maker = func() Wrap {
|
||||
return NewProtocol(src)
|
||||
}
|
||||
}
|
||||
if os.Getenv("WRAP_BUFFERED") == "true" {
|
||||
oldMaker := maker
|
||||
maker = func() Wrap {
|
||||
|
||||
Reference in New Issue
Block a user