Versions in this module Expand all Collapse all v0 v0.1.0 Apr 7, 2023 Changes in this version + var ZreoMessageId = nson.MessageId(make([]byte, 12)) + func GetU32(b []byte, pos int) uint32 + func LoadClientCert(caFile, certFile, keyFile, serverName string, insecureSkipVerify bool) (*tls.Config, error) + func LoadServerCert(caFile, certFile, keyFile string) (*tls.Config, error) + func MessageIdIsZero(id nson.MessageId) bool + func ParseDate(value string) (time.Time, error) + func ParseTime(value string) (time.Time, error) + func RandString(length int) string + func RandomID() string + func ReadNsonBytes(reader io.Reader) ([]byte, error) + func ReadNsonMessage(stream quic.Stream) (nson.Message, error) + func TimeFormat(t time.Time) string + func TryConvertTimeZone(before string) string + func WriteNsonMessage(stream quic.Stream, message nson.Message) error + type MyTime time.Time + func (myT *MyTime) UnmarshalText(text []byte) (err error) + func (myT MyTime) MarshalText() (data []byte, err error)