nextcloud

package
v0.0.126 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URL                   string
	Username              string
	Password              string
	LinkShareWithPassword bool
	RandomPasswordChars   int
}

type Provider

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

func NewProvider

func NewProvider(c Config) *Provider
func (s *Provider) GetLink(filename string) (r string, err error)

func (*Provider) Upload

func (s *Provider) Upload(file *os.File, path string) (string, error)

Jump to

Keyboard shortcuts

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