util

package
v1.20.21 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Zlib Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alarm added in v1.9.28

func Alarm(code int32, title string, detail string, err error)

func GetCertificate

func GetCertificate(t *config.Tls) (tls.Certificate, *x509.CertPool, error)

func GetServerPubKey

func GetServerPubKey(pk *config.ServerPubKey) (*rsa.PublicKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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