some video retated fixes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-05-27 18:38:38 +02:00
parent 17c991f442
commit c284b15788
6 changed files with 91 additions and 29 deletions

View File

@ -15,6 +15,7 @@ import (
type PeerStorage struct {
DbFile string `json:"db_file,omitempty"`
db *badger.DB
cache map[string]*Peer
}
// Open a badger database from struct PeerStorage