Versions in this module Expand all Collapse all v8 v8.0.0 Nov 10, 2025 Changes in this version + const SplitFileFormatClassic + const SplitFileFormatJSON + const SplitFileFormatYAML + func DefineFormat(splitFile string, logger logging.LoggerInterface) int + func NewFileSegmentFetcher(segmentDirectory string, logger logging.LoggerInterface) service.SegmentFetcher + func NewFileSplitFetcher(splitFile string, logger logging.LoggerInterface, fileFormat int) service.SplitFetcher + type FileReader struct + func (f *FileReader) ReadFile(filename string) ([]byte, error) + type FileSegmentFetcher struct + func (s *FileSegmentFetcher) Fetch(segmentName string, fetchOptions *service.SegmentRequestParams) (*dtos.SegmentChangesDTO, error) + type FileSplitFetcher struct + func (s *FileSplitFetcher) Fetch(fetchOptions *service.FlagRequestParams) (dtos.FFResponse, error) + func (s *FileSplitFetcher) IsProxy() bool + type Reader interface + ReadFile func(filename string) ([]byte, error) + func NewFileReader() Reader Other modules containing this package github.com/splitio/go-split-commons/v2 github.com/splitio/go-split-commons/v3 github.com/splitio/go-split-commons/v4 github.com/splitio/go-split-commons/v5 github.com/splitio/go-split-commons/v6 github.com/splitio/go-split-commons/v7