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}
}