internal

package
v0.0.0-...-7c217be Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proxy

func Proxy(port string, forward string)

Types

type Server

type Server struct {
	PortSSL     string
	Port        string
	Certificate string
	Key         string
	Template    string
	Model       string
	NumPredict  int
}

Server is the main server struct.

func (*Server) Serve

func (s *Server) Serve()

Serve starts the server.

func (*Server) ServeTLS

func (s *Server) ServeTLS()

ServeTLS starts the server with TLS.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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