Esempio n. 1
0
func (c *Channel) Label() string {
	s := C.CGO_Channel_Label(c.cgoChannel)
	return C.GoString(s)
}
Esempio n. 2
0
func (c *DataChannel) Label() string {
	s := C.CGO_Channel_Label(c.cgoChannel)
	defer C.free(unsafe.Pointer(s))
	return C.GoString(s)
}