// NewAcceptListWriter returns a new REST handler to update the "accept list".
NewAcceptListWriter returns a new REST handler to update the "accept list".
// NewAcceptListWriter returns a new REST handler to update the " accept list " .
func NewAcceptListWriter(cfg *Config, mgr acceptListMgr) *AcceptListWriter {
	return &AcceptListWriter{
		mgr:      mgr,
		endpoint: fmt.Sprintf("%s%s", cfg.BasePath, AcceptListPath),
		marshal:  json.Marshal,
		readAll:  ioutil.ReadAll,
	}
}
func NewAcceptListWriter ( cfg * Config , mgr acceptListMgr ) * AcceptListWriter { return & AcceptListWriter { mgr : mgr , endpoint : fmt . Sprintf ( " " , cfg . BasePath , AcceptListPath ) , marshal : json . Marshal , readAll : ioutil . ReadAll , } }
NewAcceptListWriter returns a new REST handler to update the "accept list".
NewAcceptListWriter returns a new REST handler to update the " accept list " .