Made receiver name consistent with previous receiver names
This commit is contained in:
parent
5f0aaa4947
commit
e192181ac8
1 changed files with 8 additions and 8 deletions
|
@ -78,17 +78,17 @@ func NewRouteListEntry() *RouteListEntry {
|
||||||
|
|
||||||
// Payload returns the formatted FERAG string
|
// Payload returns the formatted FERAG string
|
||||||
// for embedding in the message
|
// for embedding in the message
|
||||||
func (rl *RouteListEntry) Payload() string {
|
func (r *RouteListEntry) Payload() string {
|
||||||
data := rl.RouteName()
|
data := r.RouteName()
|
||||||
data += rl.RouteCode()
|
data += r.RouteCode()
|
||||||
data += rl.RampNumber()
|
data += r.RampNumber()
|
||||||
data += rl.CopiesInRoute()
|
data += r.CopiesInRoute()
|
||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
|
|
||||||
// Message returns the formatted FERAG string
|
// Message returns the formatted FERAG string
|
||||||
// for the complete route list entry
|
// for the complete route list entry
|
||||||
func (rl *RouteListEntry) Message() string {
|
func (r *RouteListEntry) Message() string {
|
||||||
message := rl.FeragMessage.MessageTemplate()
|
message := r.FeragMessage.MessageTemplate()
|
||||||
return message(&rl.FeragMessage, rl.Payload())
|
return message(&r.FeragMessage, r.Payload())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue