import "github.com/egdaemon/eg/runtime/wasi/egunsafe"
Package provides some internal only functionality not under compatability promises.
func DialAnalyticsSocket(ctx context.Context, network, addr string) (net.Conn, error)
DialAnalyticsSocket dials the analytics (duckproxy) socket, for issuing SQL against the host's analytics.db. Signature matches duckproxy.DialFunc.
func DialControlSocket(ctx context.Context) (conn *grpc.ClientConn, err error)
dial the control socket for executing various functionality that is too slow or impedes concurrency.
func DialModuleControlSocket(ctx context.Context) (conn *grpc.ClientConn, err error)
dial the control socket for modules.
func HostPrefixes() []netip.Prefix
resolve the netip.Prefixes of the host. returns a slice containing only the unroutable prefix on error.
func RuntimeDirectory(paths ...string) string
func UnroutablePrefix() netip.Prefix