remoton

Check-in [9dcbf9d981]

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

Overview
Comment:fix slice outbounds
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 9dcbf9d9815865483795172991d769fef0a57b4bedf5e93ea625d89d78d7d321
User & Date: bit4bit@riseup.net 2017-06-14 02:52:53
Context
2017-06-14
03:31
remoton-server Dockerfile check-in: 2930a48deb user: bit4bit@riseup.net tags: master, trunk
02:52
fix slice outbounds check-in: 9dcbf9d981 user: bit4bit@riseup.net tags: master, trunk
02:40
remoton-server add enviroment var REMOTON_SERVER_AUTH_TOKEN check-in: 29c661180f user: bit4bit@riseup.net tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to utils.go.

3
4
5
6
7
8
9
10
11
import (
	"fmt"
	"time"
)

func GenerateAuthUser() string {
	now := fmt.Sprintf("%d", time.Now().UnixNano())
	return now[len(now)-8 : 8]
}







|

3
4
5
6
7
8
9
10
11
import (
	"fmt"
	"time"
)

func GenerateAuthUser() string {
	now := fmt.Sprintf("%d", time.Now().UnixNano())
	return now[len(now)-8 : len(now)]
}