devapi

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevAPI

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

func New

func New(url string, token string) *DevAPI

func (*DevAPI) BprintFileDel

func (d *DevAPI) BprintFileDel(file string) error

func (*DevAPI) BprintFileGet

func (d *DevAPI) BprintFileGet(file string) ([]byte, error)

func (*DevAPI) BprintFileList

func (d *DevAPI) BprintFileList() (map[string]string, error)

func (*DevAPI) BprintFilePush

func (d *DevAPI) BprintFilePush(file string, data []byte) error

func (*DevAPI) ExecReset

func (d *DevAPI) ExecReset(pid, aid string) error

func (*DevAPI) ExecRun

func (d *DevAPI) ExecRun(pid, aid, action string, payload any) ([]byte, error)

func (*DevAPI) ExecWatchURL

func (d *DevAPI) ExecWatchURL(pid, aid string) string

Jump to

Keyboard shortcuts

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