Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCloseMessage ¶
func FormatCloseMessage() []byte
FormatCloseMessage gets the CloseMessage as a byte sequence
func FormatErrorCode ¶
FormatErrorCode takes a gRPC Code and "encodes" it for use over the websocket bridge
func IsCloseMessage ¶
IsCloseMessage says whether the byte sequence is a close message
func IsgRPCErrorCode ¶
IsgRPCErrorCode says if the input websocket code is a gRPC Error code.
func ParseErrorCode ¶
ParseErrorCode takes a websocket error code and "parses" it into a gRPC Code
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.