// NewAcceptListReader returns a new REST handler to read a service's "accept list".
NewAcceptListReader returns a new REST handler to read a service's "accept list".
// NewAcceptListReader returns a new REST handler to read a service ' s " accept list " .
func NewAcceptListReader(cfg *Config, mgr acceptListMgr) *AcceptListReader {
	return &AcceptListReader{
		mgr:      mgr,
		endpoint: fmt.Sprintf("%s%s", cfg.BasePath, AcceptListPath),
		marshal:  json.Marshal,
	}
}
func NewAcceptListReader ( cfg * Config , mgr acceptListMgr ) * AcceptListReader { return & AcceptListReader { mgr : mgr , endpoint : fmt . Sprintf ( " " , cfg . BasePath , AcceptListPath ) , marshal : json . Marshal , } }
NewAcceptListReader returns a new REST handler to read a service's "accept list".
NewAcceptListReader returns a new REST handler to read a service ' s " accept list " .