mirror of
https://github.com/cadmium-im/zirconium-go.git
synced 2024-11-23 19:02:20 +00:00
Add GetServerDomain method to ModuleManager
This commit is contained in:
parent
1584f9e58a
commit
b4ec836327
@ -84,3 +84,7 @@ func (mm *ModuleManager) GenerateToken(entityID, deviceID string, tokenExpireTim
|
|||||||
token, err := authManager.CreateNewToken(entityID, deviceID, tokenExpireTimeDuration)
|
token, err := authManager.CreateNewToken(entityID, deviceID, tokenExpireTimeDuration)
|
||||||
return token, err
|
return token, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (mm *ModuleManager) GetServerDomain() string {
|
||||||
|
return serverDomain
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user