route

package
v0.0.0-...-4d4d6b9 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrimitiveRoute

func PrimitiveRoute(conf Config) http.HandlerFunc

PrimitiveRoute is an http route than can be used to consume an uploaded file and execute primitive on it.

Types

type Config

type Config struct {
	MaxUploadMb int64
	FileKey     string
}

Config contains core settings one can configure to setup the primitive file processing route.

Jump to

Keyboard shortcuts

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