golinks

package
v1.3.2-0...-4312943 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) service.Service

New returns a golinks http service.

Types

type Config

type Config struct {
	Gin     *gin.Engine
	Address string
	Traced  bool
	Wiki    bool // server static doc site
	Auth    struct {
		Enabled    bool
		DefaultOrg string        // default org for Auth.Enabled = false
		Manager    *auth.Manager // provider for Auth.Enabled = true
	}
	LinkStore link.Store
}

Config defines the golinks http service config.

Directories

Path Synopsis
modules

Jump to

Keyboard shortcuts

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