...

Source file src/github.com/launchdarkly/go-server-sdk/v6/ldfilewatch/package_info.go

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

     1  // Package ldfilewatch allows the LaunchDarkly client to read feature flag data from a file
     2  // that will be automatically reloaded if the file changes.
     3  //
     4  // It should be used in conjunction with the [github.com/launchdarkly/go-server-sdk/v6/ldfiledata]
     5  // package:
     6  //
     7  //	config := ld.Config{
     8  //	    DataSource: ldfiledata.DataSource().
     9  //	        FilePaths(filePaths).
    10  //	        Reloader(ldfilewatch.WatchFiles),
    11  //	}
    12  //
    13  // The two packages are separate so as to avoid bringing additional dependencies for users who
    14  // do not need automatic reloading.
    15  package ldfilewatch
    16  

View as plain text