MCPcopy Create free account
hub / github.com/pion/ice / String

Method String

role.go:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (r Role) String() string {
39 switch r {
40 case Controlling:
41 return "controlling"
42 case Controlled:
43 return "controlled"
44 default:
45 return "unknown"
46 }
47}

Callers 1

MarshalTextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected