controllers

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupCloseHandler added in v0.8.0

func BackupCloseHandler(c *websockets.WSClient) func(msg *websockets.Message)

func BackupStartHandler added in v0.8.0

func BackupStartHandler(c *websockets.WSClient) func(msg *websockets.Message)

Types

type NFSSessionData added in v0.9.0

type NFSSessionData struct {
	Drive     string    `json:"drive"`
	StartTime time.Time `json:"start_time"`
}

type NFSSessionStore added in v0.9.0

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

func GetNFSSessionStore added in v0.9.0

func GetNFSSessionStore() *NFSSessionStore

func (*NFSSessionStore) Delete added in v0.9.0

func (s *NFSSessionStore) Delete(drive string) error

func (*NFSSessionStore) HasSessions added in v0.9.0

func (s *NFSSessionStore) HasSessions() bool

func (*NFSSessionStore) Load added in v0.9.0

func (s *NFSSessionStore) Load(drive string) (*NFSSessionData, bool)

func (*NFSSessionStore) Store added in v0.9.0

func (s *NFSSessionStore) Store(drive string, session *nfs.NFSSession) error

Jump to

Keyboard shortcuts

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