cgo

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWorkerd

func CreateWorkerd(projectId string, directory, configFilePath, addr string) error

func DestroyWorkerd

func DestroyWorkerd(projectId string) error

func InitWorkerdRuntime

func InitWorkerdRuntime() error

func QueryWorkerd

func QueryWorkerd(projectId string) (bool, error)

Types

type JsonCallRequest

type JsonCallRequest struct {
	Method string      `json:"method"`
	Args   interface{} `json:"args"`
}

type JsonCallResponse

type JsonCallResponse struct {
	Code  int32  `json:"code"`
	Msg   string `json:"msg"`
	State int    `json:"state"`
	Error string `json:"error"`
}

Jump to

Keyboard shortcuts

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