session

package
v0.0.0-...-360ba47 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	ID          string
	Config      *config.Config
	StartTime   time.Time
	AuditLogger *log.Logger
	// contains filtered or unexported fields
}

Session manages a tool execution session

func NewSession

func NewSession(cfg *config.Config) *Session

NewSession creates a new execution session

func (*Session) Close

func (s *Session) Close() error

Close releases session resources

func (*Session) LogAudit

func (s *Session) LogAudit(command, argument string, success bool, errorMsg string)

LogAudit writes an audit log entry

Jump to

Keyboard shortcuts

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