()
| 31 | ) |
| 32 | |
| 33 | func (s StreamState) String() string { |
| 34 | switch s { |
| 35 | case StreamStateInactive: |
| 36 | return "INACTIVE" |
| 37 | case StreamStateActive: |
| 38 | return "ACTIVE" |
| 39 | case StreamStatePaused: |
| 40 | return "PAUSED" |
| 41 | default: |
| 42 | return fmt.Sprintf("UNKNOWN: %d", int(s)) |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | // ------------------------------------------------ |
| 47 |
nothing calls this directly
no outgoing calls
no test coverage detected