file

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameComputer

type NameComputer interface {
	Get(remoteName string, contentType string, contentDisposition string) (filename string, err error)
}

type NameService

type NameService struct {
}

func NewNameService

func NewNameService() *NameService

func (*NameService) Get

func (s *NameService) Get(
	remoteFilename string,
	contentType string,
	contentDisposition string,
) (filename string, err error)

Get - will return computed filename with extension.

Jump to

Keyboard shortcuts

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