remoteserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(opts ServeOptions) error

Types

type ServeOptions

type ServeOptions struct {
	Addr        string
	TLSCert     string
	TLSKey      string
	DataDir     string
	StoreName   string
	DatabaseURL string
	EmbedModel  string
	JWTKeyFile  string
	MaxInsights int
}

type Server

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

func New

func New(svc *memorysvc.Service, verifier remoteauth.Verifier, db *store.DB) *Server

func (*Server) Handler

func (s *Server) Handler() http.Handler

Jump to

Keyboard shortcuts

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