routes

package
v0.0.0-...-0f1ff53 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEndpoints

func GetEndpoints(endpointPrefix string, minioClient *minio.Client) types.Endpoints

GetEndpoints ... returns array of endpoints

func GetOrListObject

func GetOrListObject(minioClient *minio.Client) http.HandlerFunc

GetOrListObject ... returns a list or path depending of the request

func GetRoot

func GetRoot(w http.ResponseWriter, r *http.Request)

GetRoot ... returns an index with the site title and path

func Healthz

func Healthz(minioClient *minio.Client) http.HandlerFunc

Healthz ... HTTP handler for health checks

Types

This section is empty.

Jump to

Keyboard shortcuts

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