api

package
v0.0.0-...-9135dd4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: Zlib Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

type ApiServer struct {
	Torrent *torrent.Grabber
	Storage storage.Store
	Gossip  gossip.Gossiper
}

func NewAPI

func NewAPI() *ApiServer

func (*ApiServer) MakeTorrent

func (a *ApiServer) MakeTorrent(rootf, outf string) (string, error)

func (*ApiServer) Stop

func (a *ApiServer) Stop()

Jump to

Keyboard shortcuts

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