nix-amer/internal/cnf/parser/nginx/nginx.go

16 lines
242 B
Go
Raw Permalink Normal View History

package nginx
import (
"io"
)
2018-11-12 11:08:54 +00:00
// NewDecoder implements parser.T
2018-11-12 18:45:30 +00:00
func NewDecoder(r io.Reader) *Decoder {
return &Decoder{reader: r}
}
// NewEncoder implements parser.T
2018-11-12 18:45:30 +00:00
func NewEncoder(w io.Writer) *Encoder {
return &Encoder{writer: w}
}