Discover Packages
github.com/go-sphere/confstore
provider
reader
package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Sep 7, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Bytes is a provider that returns a fixed byte slice.
NewBytes creates a Bytes provider that always returns the
provided byte slice.
Reader is a provider that reads all configuration bytes
from an underlying io.Reader.
NewReader creates a new Reader that wraps the provided io.Reader.
Read implements provider.Provider by returning all bytes
from the underlying io.Reader. The context is accepted for
interface compatibility and is not used for cancellation here.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.