syncthing/cmd/syncthing
Matt Burke 2234c45c19 Decouple connections service from model
The connections service no longer depends directly on the
syncthing model object, but on an interface instead. This
makes it drastically easier to write clients that handle
the model differently, but still want to benefit from
existing and future connections changes in the core.

This was motivated by burkemw3's interest in creating a
FUSE client that can present a view of the global model,
but not have all of the file data locally.

The actual decoupling was done by adding a connections.Model
interface. This interface is effectively an extension of the
protocol.Model interface that also handles connections
alongside the modified service.
2015-09-25 12:19:30 -04:00
..
testdata golint: locHttps -> locHTTPS 2015-04-04 21:59:54 +02:00
.gitignore Repair model tests 2014-03-30 21:59:40 +02:00
.stfolder Merge remote-tracking branch 'syncthing/pr/1577' 2015-04-06 20:53:32 +02:00
addresslister.go New global discovery protocol over HTTPS (fixes #628, fixes #1907) 2015-09-20 21:10:53 +02:00
audit.go mv internal lib 2015-08-09 09:35:26 +02:00
auditsvc_test.go mv internal lib 2015-08-09 09:35:26 +02:00
blockprof.go MPLv2 2015-03-17 16:02:27 +01:00
debug.go Refactor config commit stuff to support restartless updates better 2015-06-09 15:41:22 +02:00
gui.go Fix import paths 2015-09-22 19:38:46 +02:00
gui_auth.go mv internal lib 2015-08-09 09:35:26 +02:00
gui_csrf.go mv internal lib 2015-08-09 09:35:26 +02:00
gui_solaris.go MPLv2 2015-03-17 16:02:27 +01:00
gui_unix.go MPLv2 2015-03-17 16:02:27 +01:00
gui_windows.go MPLv2 2015-03-17 16:02:27 +01:00
heapprof.go MPLv2 2015-03-17 16:02:27 +01:00
locations.go mv internal lib 2015-08-09 09:35:26 +02:00
main.go Decouple connections service from model 2015-09-25 12:19:30 -04:00
main_test.go Fix import paths 2015-09-22 19:38:46 +02:00
memsize_darwin.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_linux.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_netbsd.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_solaris.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_unimpl.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_windows.go MPLv2 2015-03-17 16:02:27 +01:00
monitor.go Allow -logfile on all platforms (fixes #2004) 2015-08-27 19:11:10 +02:00
openurl_unix.go MPLv2 2015-03-17 16:02:27 +01:00
openurl_windows.go MPLv2 2015-03-17 16:02:27 +01:00
perfstats_unix.go Fix import paths 2015-09-22 19:38:46 +02:00
random.go MPLv2 2015-03-17 16:02:27 +01:00
random_test.go Random number is too large for 32 bit archs (fixes #1894) 2015-06-01 09:33:13 +02:00
summarysvc.go mv internal lib 2015-08-09 09:35:26 +02:00
upnpsvc.go Add external address tracker object 2015-09-13 07:56:13 +02:00
usage.go MPLv2 2015-03-17 16:02:27 +01:00
usage_report.go Fix import paths 2015-09-22 19:38:46 +02:00
verbose.go New global discovery protocol over HTTPS (fixes #628, fixes #1907) 2015-09-20 21:10:53 +02:00