Documentation ¶
Index ¶
- Constants
- func NewMetric() actor.Receiver
- func NewRuntime(store storage.Store, cache storage.ModCacher) actor.Producer
- func NewRuntimeLog() actor.Receiver
- func NewRuntimeManager(c *cluster.Cluster) actor.Producer
- func NewWasmServer(addr string, cluster *cluster.Cluster, store storage.Store, ...) actor.Producer
- type Metric
- type Runtime
- type RuntimeLog
- type RuntimeManager
- type WasmServer
Constants ¶
View Source
const KindMetric = "runtime_metric"
View Source
const KindRuntime = "runtime"
View Source
const KindRuntimeLog = "runtime_log"
View Source
const KindRuntimeManager = "runtime_manager"
View Source
const KindWasmServer = "wasm_server"
Variables ¶
This section is empty.
Functions ¶
func NewRuntimeLog ¶
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime is an actor that can execute compiled WASM blobs in a distributed cluster.
type RuntimeLog ¶
type RuntimeLog struct{}
func (*RuntimeLog) Receive ¶
func (rl *RuntimeLog) Receive(c *actor.Context)
type RuntimeManager ¶
type RuntimeManager struct {
// contains filtered or unexported fields
}
RuntimeManager is an actor/receiver that is responsible for managing runtimes across the cluster.
func (*RuntimeManager) Receive ¶
func (rm *RuntimeManager) Receive(c *actor.Context)
type WasmServer ¶
type WasmServer struct {
// contains filtered or unexported fields
}
WasmServer is an HTTP server that will proxy and route the request to the corresponding function.
func (*WasmServer) Receive ¶
func (s *WasmServer) Receive(c *actor.Context)
func (*WasmServer) ServeHTTP ¶
func (s *WasmServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
TODO(anthdm): Handle the favicon.ico
Click to show internal directories.
Click to hide internal directories.