Exemplo n.º 1
0
func init() {
	ret := C.goquic_init_thread_callbacks()
	if ret != 0 {
		panic(fmt.Errorf("goquic_init_thread_callbacks failed with error node %d", ret))
	}

	// This initializes Chromium's base library codes
	C.initialize()
}
Exemplo n.º 2
0
func init() {
	ret := C.goquic_init_thread_callbacks()
	if ret != 0 {
		panic(fmt.Errorf("goquic_init_thread_callbacks failed with error node %d", ret))
	}
}