server

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupRunner added in v0.14.3

type BackupRunner struct {
	Store *store.Store
}

func NewBackupRunner added in v0.14.3

func NewBackupRunner(store *store.Store) *BackupRunner

func (*BackupRunner) Run added in v0.14.3

func (r *BackupRunner) Run(ctx context.Context)

type Server

type Server struct {
	ID      string
	Secret  string
	Profile *profile.Profile
	Store   *store.Store
	// contains filtered or unexported fields
}

func NewServer

func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store) (*Server, error)

func (*Server) GetEcho added in v0.13.0

func (s *Server) GetEcho() *echo.Echo

func (*Server) Shutdown added in v0.10.3

func (s *Server) Shutdown(ctx context.Context)

func (*Server) Start added in v0.10.3

func (s *Server) Start(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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