func New(config *operation.Config) (*Controller, error) {
	var allHandlers []operation.Handler
	aceRpService, err := operation.New(config)
	if err != nil {
		return nil, fmt.Errorf("create ace-rp operation : %w", err)
	}
	allHandlers = append(allHandlers, aceRpService.GetRESTHandlers()...)
	return &Controller{handlers: allHandlers}, nil
}
New returns new controller instance.
package acerp
import (
	"fmt"
	"github.com/trustbloc/sandbox/pkg/restapi/acerp/operation"
)