Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHttp ¶
func ConfigureHttp(name string, conf *pkgmirror.StaticConfig, app *goapp.App)
Types ¶
type StaticConfig ¶
type StaticFile ¶
type StaticService ¶
type StaticService struct { DB *bolt.DB Config *StaticConfig Logger *log.Entry Vault *vault.Vault StateChan chan pkgmirror.State BoltCompacter *pkgmirror.BoltCompacter // contains filtered or unexported fields }
func NewStaticService ¶
func NewStaticService() *StaticService
func (*StaticService) Serve ¶
func (gs *StaticService) Serve(state *goapp.GoroutineState) error
func (*StaticService) WriteArchive ¶
func (gs *StaticService) WriteArchive(w io.Writer, path string) (*StaticFile, error)
Click to show internal directories.
Click to hide internal directories.