transport

package
v0.0.0-...-94e9374 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrRpcConn              string = "gRpcConnectionLost:"
	ErrWebsocketUpgrade     string = "WebSocketUpgradeError:"
	ErrUnexpectedClose      string = "UnexpectedCloseError:"
	ErrUndefinedReadMessage string = "UndefinedReadMessageError:"
	ErrWriteMessage         string = "Write Message Error:"
	ErrUnexpectedType       string = "UnexpectedTypeError:"
	ErrJsonUnmarshal        string = "JsonUnmarshalError"
	ErrCreateRpcStream      string = "Failed to Create Rpc Stream"
	STATUS_ERROR            string = "status_error"
	STATUS_OK               string = "status_ok"
	InvalidVersion          string = "invalid version, closing websocket"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DialQueue

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

type WebSocketServer

type WebSocketServer struct {
	Upgrader websocket.Upgrader
	// contains filtered or unexported fields
}

func NewSocketServer

func NewSocketServer() *WebSocketServer

func (*WebSocketServer) Run

func (wss *WebSocketServer) Run(llm *ollama.LLM, vdb *mxvd.MXVDProxy)

Jump to

Keyboard shortcuts

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