add getter for serverHostname so classes based on this can access their address
This commit is contained in:
parent
630efa186e
commit
c079f0dace
|
@ -180,3 +180,9 @@ func (srs *StandardRicochetService) OnBadUsageError(oc *OpenConnection, channelI
|
||||||
func (srs *StandardRicochetService) OnFailedError(oc *OpenConnection, channelID int32) {
|
func (srs *StandardRicochetService) OnFailedError(oc *OpenConnection, channelID int32) {
|
||||||
oc.RejectOpenChannel(channelID, "FailedError")
|
oc.RejectOpenChannel(channelID, "FailedError")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Getters
|
||||||
|
|
||||||
|
func (srs *StandardRicochetService) GetServerHostname() string {
|
||||||
|
return srs.serverHostname
|
||||||
|
}
|
Loading…
Reference in New Issue