surls

package module
v0.0.0-...-38c5a15 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServeMux

func NewServeMux(config *Config) http.Handler

Types

type Config

type Config struct {
	UseStub bool
	Route   *controller.Config
	Core    *entity.Config
	Gateway GatewayType
}

Config is surls application configure.

func NewDefaultConfig

func NewDefaultConfig() *Config

type GatewayType

type GatewayType int
const (
	Inmem GatewayType = iota + 1
)

func (GatewayType) String

func (i GatewayType) String() string

Directories

Path Synopsis
cmd
gateway
internal

Jump to

Keyboard shortcuts

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