server

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(ctx context.Context, addr string) (net.Listener, error)

Types

type Opt

type Opt func(*Server)

func WithAgentsDir

func WithAgentsDir(dir string) Opt

func WithFrontend

func WithFrontend(fsys fs.FS) Opt

type Server

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

func New

func New(sessionStore session.Store, runConfig config.RuntimeConfig, teams map[string]*team.Team, opts ...Opt) *Server

func (*Server) Serve

func (s *Server) Serve(_ context.Context, ln net.Listener) error

Jump to

Keyboard shortcuts

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