opsrv

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorServer

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

func NewServer

func NewServer(ctx context.Context, params *OperatorServerParams) (*OperatorServer, error)

func (*OperatorServer) CloseListener

func (l *OperatorServer) CloseListener() error

CloseListener closes operator's listener if it's active

func (*OperatorServer) Start

func (s *OperatorServer) Start(ctx context.Context) error

Start starts operator's listener

type OperatorServerParams

type OperatorServerParams struct {
	Db              *database.Database
	Sm              *session.SessionManager
	OperatorAddress string
	AgentAddress    string
	DataPath        string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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