28 lines
366 B
Go
28 lines
366 B
Go
package config
|
|
|
|
type ExampleConfig struct {
|
|
Acc acc
|
|
Speed speed
|
|
Btm btm
|
|
Trainpc trainpc
|
|
}
|
|
type acc struct {
|
|
RemoteIp string
|
|
RemotePort int
|
|
}
|
|
type speed struct {
|
|
RemoteIp string
|
|
RemotePort int
|
|
}
|
|
type btm struct {
|
|
RemoteIp string
|
|
RemotePort int
|
|
LocalIp string
|
|
LocalPort int
|
|
}
|
|
|
|
type trainpc struct {
|
|
RemoteIp string
|
|
RemotePort int
|
|
}
|