summaryrefslogtreecommitdiffstats
path: root/back/cmd/authfs/qid.go
blob: 7c232403585c0bd5e4cdb47128dc6bccaefd23b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

const (
	_ uint64 = iota
	rootQidPath
	usersQidPath
	sessionsQidPath
)

var nextQidPath uint64 = 99

func NextQidPath() uint64 {
	p := nextQidPath
	nextQidPath++
	return p
}