remoton

Check-in [6ed325bee2]

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

Overview
Comment:fix import path throttled
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | master | trunk
Files: files | file ages | folders
SHA3-256:6ed325bee2c3f6c99bd9bc901f5362f0b97cb4c071bbf8378c560ec4eb8970c9
User & Date: bit4bit@riseup.net 2018-01-15 17:21:39
Context
2018-01-15
17:21
fix import path throttled Leaf check-in: 6ed325bee2 user: bit4bit@riseup.net tags: master, trunk
2017-06-14
03:31
remoton-server Dockerfile check-in: 2930a48deb user: bit4bit@riseup.net tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

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

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	"runtime"
	"runtime/pprof"
	"strconv"

	log "github.com/Sirupsen/logrus"
	"github.com/bit4bit/remoton"

	"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")







|
|







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	"runtime"
	"runtime/pprof"
	"strconv"

	log "github.com/Sirupsen/logrus"
	"github.com/bit4bit/remoton"

	"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")