Zlatko Čalušić
cc25dffd15
Rename server.go to main.go
2016-11-11 01:24:34 +01:00
Zlatko Čalušić
fcb062d3c6
Refactor server.go
2016-11-11 01:24:06 +01:00
Zlatko Čalušić
bc66905f3f
Check for errors in main()
2016-11-11 00:55:56 +01:00
Zlatko Čalušić
bbcbca2d4e
Stop logging date/time
...
In preparation for systemd configuration. Modern programs are supervised
by systemd. Systemd journal has it's own timestamping, so we don't need
another one.
2016-11-06 19:58:11 +01:00
Zlatko Čalušić
c00e8f6686
Introduce cpuprofile argument
2016-11-06 19:38:41 +01:00
Zlatko Čalušić
0b7c460632
Miscellaneous server.go changes
2016-11-06 19:21:17 +01:00
Zlatko Čalušić
65c1af31fe
Create data hash folders during startup, too
...
So, that we are not constantly trying to mkdir() what is already there.
This is a small performance improvement.
2016-11-06 16:23:32 +01:00
Zlatko Čalušić
427806cd36
Introduce listen argument
2016-11-06 12:20:09 +01:00
Zlatko Čalušić
d6a2f21325
Handle errors during server start
2016-11-06 12:11:32 +01:00
Zlatko Čalušić
e0ac4f7afb
Remove needless build tags
2016-11-06 11:26:06 +01:00
Zlatko Čalušić
5de6d4fd00
Reformat comments
2016-11-06 11:24:28 +01:00
Zlatko Čalušić
c2d31bf711
Sort directories
2016-11-05 18:30:44 +01:00
Zlatko Čalušić
80196e6df6
Update with changes from github.com/restic/restic tree
...
Uncompilable right now, due to bad import paths.
2016-11-05 17:18:42 +01:00
Chapuis Bertil
3a9283a115
enabled htpasswd authentication
2015-09-19 14:52:50 +02:00
Chapuis Bertil
7972b1330b
removed dependency to the backend
2015-09-19 14:28:26 +02:00
Chapuis Bertil
2fb76f3f8d
added handlers and context
2015-09-18 17:13:38 +02:00
Chapuis Bertil
d4717695cb
new router implementation
2015-09-17 13:46:29 +02:00
Chapuis Bertil
c19c63325c
simple backend
2015-09-16 23:34:11 +02:00
Chapuis Bertil
b1a084ff70
start server correctly
2015-09-07 16:17:24 +02:00
Chapuis Bertil
738e78c439
command line args
2015-09-07 15:29:24 +02:00
Chapuis Bertil
b4d923ab26
small refactoring
2015-09-06 17:44:42 +02:00
Chapuis Bertil
a6f9e71f95
remove Context.Init
2015-09-06 17:29:52 +02:00
Bertil Chapuis
a6df1d7d90
Update server.go
...
repo name
2015-09-04 11:17:23 +02:00
Chapuis Bertil
59621ca2d6
read support for length and offset
2015-08-15 10:06:10 +02:00
Chapuis Bertil
465ef4b493
refactoring
2015-08-14 11:17:57 +02:00
Chapuis Bertil
1ab2939041
created a router package
2015-08-11 14:56:47 +02:00
Chapuis Bertil
90266e7006
fixed imports
2015-08-11 14:52:42 +02:00
Chapuis Bertil
8eab8b0698
server strucutre draft
2015-08-11 14:14:07 +02:00