func New(
	serverURL string,
	logger log.Logger,
) (Client, error) {
	endpoints, err := scepserver.MakeClientEndpoints(serverURL)
	if err != nil {
		return nil, err
	}
	logger = level.Info(logger)
	endpoints.GetEndpoint = scepserver.EndpointLoggingMiddleware(logger)(endpoints.GetEndpoint)
	endpoints.PostEndpoint = scepserver.EndpointLoggingMiddleware(logger)(endpoints.PostEndpoint)
	return endpoints, nil
}
New creates a SCEP Client.
package scepclient
import (
	scepserver "github.com/micromdm/scep/v2/server"
	"github.com/go-kit/kit/log"
	"github.com/go-kit/kit/log/level"
)
type Client interface {
	scepserver.Service
	Supports(cap string) bool
}