signMgr

package
v0.0.0-...-97ce03a Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type SignMgr

type SignMgr struct {
	PublicKey *rsa.PublicKey
}

func GetSingleInstance

func GetSingleInstance() *SignMgr

func (*SignMgr) CheckRequestLegal

func (s *SignMgr) CheckRequestLegal(sign string) bool

func (*SignMgr) GetAndParsePublicKey

func (s *SignMgr) GetAndParsePublicKey() error

Jump to

Keyboard shortcuts

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