The highest tagged major version is
v10 .
Discover Packages
github.com/schollz/croc/v6
src
message
package
Version:
v6.4.11
Opens a new window with list of versions in this module.
Published: Feb 18, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Encode will convert to bytes
type Message struct {
Type string `json:"t,omitempty"`
Message string `json:"m,omitempty"`
Bytes []byte `json:"b,omitempty"`
Num int `json:"n,omitempty"`
}
Message is the possible payload for messaging
Decode will convert from bytes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.