Files
umbrix-libcore/custom/grpc_interface.go

11 lines
259 B
Go
Raw Normal View History

2024-03-19 17:07:11 +01:00
package main
import "C"
import v2 "github.com/hiddify/libcore/v2"
//export StartCoreGrpcServer
func StartCoreGrpcServer(listenAddress *C.char) (CErr *C.char) {
err := v2.StartCoreGrpcServer(C.GoString(listenAddress))
return emptyOrErrorC(err)
}