remoton

Check-in [1f7de1472b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:cmd/remoto-server: fix throttled import
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:1f7de1472b3bad68568d63b43d390bcfd64ca10304b628cbf67c8c1ccc00eae5
User & Date: bit4bit@riseup.net 2016-08-04 15:15:00
Context
2017-06-10
06:14
Create README.md check-in: 1d85732a0e user: noreply@github.com tags: master, trunk
2016-08-04
15:15
cmd/remoto-server: fix throttled import check-in: 1f7de1472b user: bit4bit@riseup.net tags: master, trunk
15:09
cmd/remoton-server: uuid now from github.com/satori/go.uuid check-in: b04c4d415d user: bit4bit@riseup.net tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to cmd/remoton-server/main.go.

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	"strconv"

	"github.com/bit4bit/remoton"
	"github.com/satori/go.uuid"
	
	log "github.com/Sirupsen/logrus"

	"github.com/throttled/throttled"
	"github.com/throttled/throttled/store"
)

var (
	listenAddr    = flag.String("listen", "localhost:9934", "listen address")
	authTokenFlag = flag.String("auth-token", "", "authenticate API")
	certFile      = flag.String("cert", "cert.pem", "cert pem")
	keyFile       = flag.String("key", "key.pem", "key pem")







|
|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	"strconv"

	"github.com/bit4bit/remoton"
	"github.com/satori/go.uuid"
	
	log "github.com/Sirupsen/logrus"

	"gopkg.in/throttled/throttled.v2"
	"gopkg.in/throttled/throttled.v2/store"
)

var (
	listenAddr    = flag.String("listen", "localhost:9934", "listen address")
	authTokenFlag = flag.String("auth-token", "", "authenticate API")
	certFile      = flag.String("cert", "cert.pem", "cert pem")
	keyFile       = flag.String("key", "key.pem", "key pem")