Documentation ¶
Index ¶
- type Config
- type Empty
- type Server
- func (s *Server) EventHandler(ch chan string, matches []string)
- func (s *Server) GetLinksDatabases(location string) ([]string, error)
- func (s *Server) ParseLinksDatabase(file string, wg *sync.WaitGroup) error
- func (s *Server) ParseLinksDatabases(matches []string)
- func (s *Server) Serve(ctx context.Context) error
- func (s *Server) SetupWatchers(watcher *fsnotify.Watcher, matches []string, done chan bool) error
- type Soname
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddress string RepositoryDirectory string Logger logrus.FieldLogger }
Config bundles configuration settings.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) EventHandler ¶
func (*Server) GetLinksDatabases ¶
func (*Server) ParseLinksDatabase ¶
func (*Server) ParseLinksDatabases ¶
/srv/ftp/$repo/os/$arch/$repo.links.tar.gz
Click to show internal directories.
Click to hide internal directories.