tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/lora/lorawan/region/settings.go (about) 1 package region 2 3 type Settings interface { 4 JoinRequestChannel() Channel 5 JoinAcceptChannel() Channel 6 UplinkChannel() Channel 7 } 8 9 type settings struct { 10 joinRequestChannel Channel 11 joinAcceptChannel Channel 12 uplinkChannel Channel 13 } 14 15 func (r *settings) JoinRequestChannel() Channel { 16 return r.joinRequestChannel 17 } 18 19 func (r *settings) JoinAcceptChannel() Channel { 20 return r.joinAcceptChannel 21 } 22 23 func (r *settings) UplinkChannel() Channel { 24 return r.uplinkChannel 25 }