You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
526 B

// Code generated by "stringer -type=connectionState"; DO NOT EDIT
package tchannel
import "fmt"
const _connectionState_name = "connectionActiveconnectionStartCloseconnectionInboundClosedconnectionClosed"
var _connectionState_index = [...]uint8{0, 16, 36, 59, 75}
func (i connectionState) String() string {
i -= 1
if i < 0 || i >= connectionState(len(_connectionState_index)-1) {
return fmt.Sprintf("connectionState(%d)", i+1)
}
return _connectionState_name[_connectionState_index[i]:_connectionState_index[i+1]]
}