# Constants
ActionContinue means that the host continues the processing.
ActionPause means that the host pauses the processing.
OnPluginStartStatusFailed indicates that PluginContext.OnPluginStart failed.
OnPluginStartStatusOK indicates that PluginContext.OnPluginStart succeeded.
OnVMStartStatusFailed indicates that VMContext.OnVMStartStatus failed.
OnVMStartStatusOK indicates that VMContext.OnVMStartStatus succeeded.
PeerTypeLocal means the type of a peer is local (i.e.
PeerTypeRemote means the type of a peer is remote (i.e.
PeerTypeUnknown means the type of a peer is unknown.
# Variables
ErrorInternalFailure indicates an internal failure in hosts.
ErrorStatusBadArgument means the arguments for a hostcall are invalid.
ErrorStatusCasMismatch means the CAS value provided to the SetSharedData does not match the current value.
ErrorStatusEmpty means the target queue of DequeueSharedQueue call is empty.
ErrorStatusNotFound means not found for various hostcalls.
ErrorUnimplemented indicates the API is not implemented in the host yet.
# Structs
DefaultContexts are a no-op implementation of contexts.
DefaultContexts are a no-op implementation of contexts.
DefaultContexts are a no-op implementation of contexts.
DefaultContexts are a no-op implementation of contexts.
# Interfaces
HttpContext corresponds to each Http stream and is created by PluginContext via NewHttpContext.
PluginContext corresponds to different plugin configurations (config.configuration).
TcpContext corresponds to each Tcp stream and is created by PluginContext via NewTcpContext.
VMContext corresponds to a Wasm VM machine and its configuration.
# Type aliases
Action represents the action which Wasm contexts expects hosts to take.
OnPluginStartStatus is the type of status returned by OnPluginStart.
OnVMStartStatus is the type of status returned by OnVMStart.
PeerType represents the type of a peer of a connection.