LoadIDs use time.UnixNanoseconds instead of GenUUID

This commit is contained in:
TeoV
2019-04-04 15:03:07 +03:00
committed by Dan Christian Bogos
parent 01857c4d8a
commit 93cb87bece
21 changed files with 174 additions and 53 deletions

View File

@@ -128,8 +128,8 @@ type DataDB interface {
GetDispatcherProfileDrv(string, string) (*DispatcherProfile, error)
SetDispatcherProfileDrv(*DispatcherProfile) error
RemoveDispatcherProfileDrv(string, string) error
GetItemLoadIDsDrv(itemIDPrefix string) (loadIDs map[string]string, err error)
SetLoadIDsDrv(loadIDs map[string]string) error
GetItemLoadIDsDrv(itemIDPrefix string) (loadIDs map[string]int64, err error)
SetLoadIDsDrv(loadIDs map[string]int64) error
GetDispatcherHostDrv(string, string) (*DispatcherHost, error)
SetDispatcherHostDrv(*DispatcherHost) error
RemoveDispatcherHostDrv(string, string) error