Help us shape the future of Go! Take the 2026 Go Developer Survey

remoteserver

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 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
	OIDC        remoteauth.OIDCConfig
}

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