convention

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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 DBConf

type DBConf struct {
	Driver   string
	User     string
	Password string
	Host     string
	Port     uint
	DBName   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