favicon

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) gin.HandlerFunc

Types

type Option

type Option func(*option)

func WithFaviconPath

func WithFaviconPath(faviconPath string) Option

WithFaviconPath faviconPath default ./favicon.ico

func WithLogger

func WithLogger(logger glog.ILogger) Option

func WithRoutePaths

func WithRoutePaths(routePaths ...string) Option

WithRoutePaths routePaths default /favicon.ico

Jump to

Keyboard shortcuts

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