Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements a Sidetree services provider which is responsible for managing Sidetree services for all channels that a peer has joined.
func NewProvider ¶
func NewProvider(providers *providers, sidetreeConfigProvider sidetreeConfigProvider) *Provider
NewProvider returns a new Sidetree services provider
func (*Provider) ChannelJoined ¶
ChannelJoined is invoked when a peer joins a channel. A new channel manager is created to manage the Sidetree resources for the channel.
func (*Provider) RestartRESTService ¶
func (p *Provider) RestartRESTService()
RestartRESTService restarts the REST server
Click to show internal directories.
Click to hide internal directories.