import "github.com/egdaemon/eg/runtime/wasi/egunsafe"

Package provides some internal only functionality not under compatability promises.

<a name="DialControlSocket"></a>

func DialControlSocket

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.

<a name="DialModuleControlSocket"></a>

func DialModuleControlSocket

func DialModuleControlSocket(ctx context.Context) (conn *grpc.ClientConn, err error)

dial the control socket for modules.

<a name="HostPrefixes"></a>

func HostPrefixes

func HostPrefixes() []netip.Prefix

resolve the netip.Prefixes of the host. returns a slice containing only the unroutable prefix on error.

<a name="RuntimeDirectory"></a>

func RuntimeDirectory

func RuntimeDirectory(paths ...string) string

<a name="UnroutablePrefix"></a>

func UnroutablePrefix

func UnroutablePrefix() netip.Prefix