...

Source file src/github.com/launchdarkly/go-server-sdk/v6/subsystems/data_store_update_sink.go

Documentation: github.com/launchdarkly/go-server-sdk/v6/subsystems

     1  package subsystems
     2  
     3  import "github.com/launchdarkly/go-server-sdk/v6/interfaces"
     4  
     5  // DataStoreUpdateSink is an interface that a data store implementation can use to report information
     6  // back to the SDK.
     7  //
     8  // Application code does not need to use this type. It is for data store implementations.
     9  //
    10  // The SDK passes this in the ClientContext when it is creating a data store component.
    11  type DataStoreUpdateSink interface {
    12  	// UpdateStatus informs the SDK of a change in the data store's operational status.
    13  	//
    14  	// This is what makes the status monitoring mechanisms in DataStoreStatusProvider work.
    15  	UpdateStatus(newStatus interfaces.DataStoreStatus)
    16  }
    17  

View as plain text