Documentation ¶
Index ¶
- func ConstructLargeDataFile(headPattern, bodyPattern, endPattern []byte) []byte
- func CreateDummyDeviceFiles(t *testing.T, dir string)
- func DataFileMatches(fn string, headPattern, bodyPattern, endPattern []byte) error
- func InteropModule(path string) []rsyncd.Module
- func RsyncVersion(t *testing.T) string
- func VerifyDummyDeviceFiles(t *testing.T, source, dest string)
- func WriteLargeDataFile(t *testing.T, source string, headPattern, bodyPattern, endPattern []byte)
- type Option
- type TestServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructLargeDataFile ¶
func CreateDummyDeviceFiles ¶
func DataFileMatches ¶
func InteropModule ¶
InteropModule is a convenience function to define an rsync module named “interop” with the specified path.
func RsyncVersion ¶
func VerifyDummyDeviceFiles ¶
Types ¶
type Option ¶
type Option func(ts *TestServer)
func Listeners ¶
func Listeners(lns []rsyncdconfig.Listener) Option
Click to show internal directories.
Click to hide internal directories.