Add GetServerDomain method to ModuleManager

This commit is contained in:
ChronosX88 2020-02-12 20:52:44 +04:00
parent 1584f9e58a
commit b4ec836327

View File

@ -84,3 +84,7 @@ func (mm *ModuleManager) GenerateToken(entityID, deviceID string, tokenExpireTim
token, err := authManager.CreateNewToken(entityID, deviceID, tokenExpireTimeDuration)
return token, err
}
func (mm *ModuleManager) GetServerDomain() string {
return serverDomain
}