initx

package
v0.0.0-...-1e55c69 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCert

func InitCert() (*x509.Certificate, crypto.Signer, error)

InitCert 初始化证书

func InitCrdtKv

func InitCrdtKv(ctx context.Context) (*kv.CRDTKeyValueDB, func(), error)

func InitLogger

func InitLogger() (func(), error)

InitLogger initialize the log module

func InitOcspCache

func InitOcspCache() *memorycacher.Cache

func InitStorage

func InitStorage() (storage.ExecCloser, func(), error)

InitStorage 初始化存储引擎

Types

type CfsslHandler

type CfsslHandler struct {
	LocalSigner   signer.Signer
	OcspSigner    ocsp.Signer
	InfoHandler   http.Handler
	RevokeHandler http.Handler
}

func InitCfssl

func InitCfssl() (*CfsslHandler, error)

Jump to

Keyboard shortcuts

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