rename SetupMode into TransportMode and move into headers

This commit is contained in:
aler9
2020-10-04 18:30:25 +02:00
parent 0db9c082e7
commit 96f3434e61
5 changed files with 68 additions and 55 deletions

View File

@@ -25,8 +25,8 @@ var casesTransport = []struct {
return &v
}(),
ClientPorts: &[2]int{3456, 3457},
Mode: func() *string {
v := "play"
Mode: func() *TransportMode {
v := TransportModePlay
return &v
}(),
},