cutkey

package module
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 4 Imported by: 4

README

cutkey

protocolo escrito en go para intercambio de data json sin enviar el nombre de los campos solo funciona con mapa de string (map[string]string)

la idea principal es enviar la menor data posible que no es util.

esta pensado para trabajar con go del lado del cliente compilado a WebAssembly.

se eligió la librería cbor para codificar según la chatGpt es compatible con tinyGo ..estamos trabajando en eso..

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cut added in v0.0.2

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

func Add

func Add(objects ...model.Object) *Cut

func (Cut) DecodeResponses added in v0.0.2

func (c Cut) DecodeResponses(data []byte) (responses []model.Response)

func (Cut) EncodeResponses added in v0.0.2

func (c Cut) EncodeResponses(requests []model.Response) []byte

Jump to

Keyboard shortcuts

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