filebrowser

package
v0.0.0-...-b8a7cb5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(opts ...ClientOpts) *Client

func (*Client) Auth

func (c *Client) Auth() (bool, error)

func (*Client) CreateDir

func (c *Client) CreateDir(filePath string) (bool, error)

func (*Client) UploadFile

func (c *Client) UploadFile(filePath string, content []byte) (bool, error)

func (*Client) WithContext

func (c *Client) WithContext(ctx context.Context) *Client

func (*Client) WithFilebrowserURL

func (c *Client) WithFilebrowserURL(url string) *Client

type ClientOpts

type ClientOpts struct {
	Context *context.Context

	KeycloakBaseURL *string
	FilebrowserURL  *string

	RequestTimeout *time.Duration

	Session *session.Session

	Client *http.Client
}

Jump to

Keyboard shortcuts

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