add username to our trip

This commit is contained in:
mr
2024-12-04 12:14:55 +01:00
parent fd01f535a1
commit 1fcbc7c08a
10 changed files with 43 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ type DBObject interface {
GenerateID()
GetID() string
GetName() string
UpToDate()
UpToDate(user string, create bool)
VerifyAuth(username string, PeerID string, groups []string) bool
Deserialize(j map[string]interface{}, obj DBObject) DBObject
Serialize(obj DBObject) map[string]interface{}