Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigCertificate(mhost, mvalidFrom, mecdsaCurve string, useRand, misCa, med25519Key bool, ...)
- func CreateCertificate(serverHost string, isCA bool) (configUri, base string)
- func SelfCertificate() (pemStringkeyString string)
- func SetHost(mhost string)
- func SetKey(key string)
- type ExpressConfig
Constants ¶
View Source
const ( RandomeMode = 2 FlowMode = 0 ManueMode = 1 )
Variables ¶
View Source
var (
// RouteSys = &RouteSystem{}
UsedRoutes = ""
)
Functions ¶
func ConfigCertificate ¶
func CreateCertificate ¶
func SelfCertificate ¶
func SelfCertificate() (pemStringkeyString string)
Types ¶
type ExpressConfig ¶
func Config ¶
func Config(s interface{}) ExpressConfig
func DefaultConfig ¶
func DefaultConfig() *ExpressConfig
func ParseConfigs ¶
func ParseConfigs(configs ...interface{}) (parsedConfig *ExpressConfig)
func (ExpressConfig) Check ¶
func (exp ExpressConfig) Check(setconfig *ExpressConfig)
Click to show internal directories.
Click to hide internal directories.