internal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package internal holds the internal functionality of serve

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(dir string, isSpa bool) http.HandlerFunc

Handle returns http.HandlerFunc depends on the given parameters

func Log

func Log(v ...interface{})

Log wraps log.Println

func LogF

func LogF(fmt string, v ...interface{})

LogF wraps log.Printf

func LogFatal

func LogFatal(v ...interface{})

LogFatal wraps log.Fatalln

func LogSetQuite

func LogSetQuite(isQuite bool)

LogSetQuite sets isQuiteMode to enable/disable logging

Types

This section is empty.

Jump to

Keyboard shortcuts

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