Help us shape the future of Go! Take the 2026 Go Developer Survey

lib

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeErr = iota
	TypeData
	TypeResize
)

Message.Type

Variables

This section is empty.

Functions

func ReadCertPool

func ReadCertPool(crt string) *x509.CertPool

ReadCertPool get CertPool by crt file

Types

type Message

type Message struct {
	Type int             `json:"t"`
	Data json.RawMessage `json:"d"`
}

Message Websocket Communication data format

type MessageClient

type MessageClient struct {
	Type int `json:"t"`
	Data any `json:"d"`
}

MessageClient Websocket Communication data format

Jump to

Keyboard shortcuts

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