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

16 lines
242 B
Go

package nginx
import (
"io"
)
// NewDecoder implements parser.T
func NewDecoder(r io.Reader) *Decoder {
return &Decoder{reader: r}
}
// NewEncoder implements parser.T
func NewEncoder(w io.Writer) *Encoder {
return &Encoder{writer: w}
}