frame

package
v3.0.28 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicFrame

type BasicFrame struct {
}

func NewBytesFrame

func NewBytesFrame() *BasicFrame

func (*BasicFrame) Frame

func (f *BasicFrame) Frame(data []byte) ([]byte, error)

type Framer

type Framer interface {
	Frame(data []byte) ([]byte, error)
}

func NewFrame

func NewFrame(version string, filename string, imports []string, pkgName string, useDoNotEdit bool) Framer

type GolangFrame

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

func NewGolangFrame

func NewGolangFrame(imports []string, version, pkgName string, useDoNotEdit bool) *GolangFrame

func (*GolangFrame) Frame

func (f *GolangFrame) Frame(data []byte) ([]byte, error)

type JSFrame

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

func NewJSFrame

func NewJSFrame(version string) *JSFrame

func (*JSFrame) Frame

func (f *JSFrame) Frame(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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