gruntime

package
v1.10.12-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a VM runtime initializer.

func NewClient

func NewClient(client pb.RuntimeClient) *Client

func (*Client) Initialize

func (c *Client) Initialize(ctx context.Context, protocolVersion uint, vmAddr string) error

type Server

type Server struct {
	pb.UnsafeRuntimeServer
	// contains filtered or unexported fields
}

Server is a VM runtime initializer controlled by RPC.

func NewServer

func NewServer(runtime runtime.Initializer) *Server

func (*Server) Initialize

func (s *Server) Initialize(ctx context.Context, req *pb.InitializeRequest) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL