rmfetch

package module
v0.0.0-...-9fa6496 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: AGPL-3.0 Imports: 12 Imported by: 1

README

rmfetch

WiP

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingCode = errors.New("missing required one-time code")
	ErrPDFGen      = errors.New("failed to generate the PDF")
)

Functions

This section is empty.

Types

type RMCloud

type RMCloud struct {
	// contains filtered or unexported fields
}

func New

func New() (*RMCloud, error)

func (RMCloud) Docs

func (rmc RMCloud) Docs() []RMDoc

func (RMCloud) Fetch

func (rmc RMCloud) Fetch(doc RMDoc) ([]byte, error)

func (RMCloud) GenPDF

func (rmc RMCloud) GenPDF(doc RMDoc, rmrlAas string) ([]byte, error)

type RMDoc

type RMDoc struct {
	Id   string    `json:"id"`
	Path string    `json:"path"`
	Mod  time.Time `json:"mod"`
}

Directories

Path Synopsis
cmd
rmfetchd module

Jump to

Keyboard shortcuts

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