func (m *ServerContext) Protocol() protocol.Client {
	return m.ProtocolClient
}
Protocol returns the ProtocolClient.
package context
import (
	"github.com/trustbloc/sidetree-core-go/pkg/api/protocol"
	"github.com/trustbloc/sidetree-core-go/pkg/batch"
	"github.com/trustbloc/sidetree-core-go/pkg/batch/cutter"
)
func New(pc protocol.Client, aw batch.AnchorWriter, opQueue cutter.OperationQueue) *ServerContext {
	return &ServerContext{
		ProtocolClient: pc,
		AnchorWriter:   aw,
		OpQueue:        opQueue,
	}
}
type ServerContext struct {
	ProtocolClient protocol.Client
	AnchorWriter   batch.AnchorWriter
	OpQueue        cutter.OperationQueue
}