mirror of
https://github.com/cadmium-im/zirconium-go.git
synced 2024-12-27 11:21:51 +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)
|
||||
return token, err
|
||||
}
|
||||
|
||||
func (mm *ModuleManager) GetServerDomain() string {
|
||||
return serverDomain
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user