Documentation ¶
Index ¶
- func New(config string) (driver.Storager, error)
- type Config
- func (c *Config) ActivateSession(id uint, activate bool)
- func (c *Config) AddServer(name, tsaURL, description string)
- func (c *Config) AddSession(serverID uint, token string)
- func (c *Config) End()
- func (c *Config) ListServers(filter map[string]string) []driver.ServerResult
- func (c *Config) ListSessions(filter map[string]string) []driver.SessionResult
- func (c *Config) RemoveAllSessions()
- func (c *Config) RemoveServer(name string)
- func (c *Config) RemoveSession(id uint)
- type Model
- type Server
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
func (*Config) ActivateSession ¶
func (*Config) AddSession ¶
func (*Config) ListServers ¶
func (c *Config) ListServers(filter map[string]string) []driver.ServerResult
func (*Config) ListSessions ¶
func (c *Config) ListSessions(filter map[string]string) []driver.SessionResult
func (*Config) RemoveAllSessions ¶
func (c *Config) RemoveAllSessions()
func (*Config) RemoveServer ¶
func (*Config) RemoveSession ¶
Click to show internal directories.
Click to hide internal directories.