convention

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConf added in v0.3.8

type CacheConf struct {
	Host     string
	Port     uint32
	Password string
	DBName   int
}

type DBConf

type DBConf struct {
	Driver     string
	User       string
	Password   string
	Host       string
	Port       uint
	DBName     string
	SchemaName string
	Charset    string
}

type HttpConf added in v0.2.0

type HttpConf struct {
	Host       string
	Port       uint32
	UseTLS     bool
	Pem        string
	Key        string
	Static     []StaticMap
	EnableCORS bool
}

func (HttpConf) BaseUrl added in v0.2.8

func (c HttpConf) BaseUrl() string

type RPCConf added in v0.2.16

type RPCConf struct {
	Host string
	Port uint32
}

func (RPCConf) Addr added in v0.2.16

func (c RPCConf) Addr() string

func (RPCConf) BaseUrl added in v0.2.18

func (c RPCConf) BaseUrl() string

type StaticMap added in v0.2.7

type StaticMap struct {
	Route    string
	FilePath string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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