func (c *Channel) Protocol() string { return C.GoString(C.CGO_Channel_Protocol(c.cgoChannel)) }
func (c *DataChannel) Protocol() string { p := C.CGO_Channel_Protocol(c.cgoChannel) defer C.free(unsafe.Pointer(p)) return C.GoString(p) }