dbstate

package
v0.0.0-...-c34a4ac Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	RepoID string `db:"repoid"`
	Refs   string `db:"refs"`
	Status string `db:"status"`
}

type StateManager

type StateManager struct {
	Location string
	// contains filtered or unexported fields
}

func (StateManager) Load

func (StateManager) Save

func (s StateManager) Save(r hungryfox.Repo)

func (*StateManager) Start

func (s *StateManager) Start() error

func (*StateManager) Stop

func (s *StateManager) Stop() error

Jump to

Keyboard shortcuts

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