Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyPool = errors.New("empty pool") ErrInvalidPoolAddress = errors.New("invalid address") )
Functions ¶
Types ¶
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
Signature model
func NewCustomSignature ¶
NewCustomSignature create sign with custom hash function
func (*Signature) CreateString ¶
CreateString getting hash as string
type SignatureStorage ¶
type SignatureStorage struct {
// contains filtered or unexported fields
}
SignatureStorage storage
func NewSignatureStorage ¶
func NewSignatureStorage() *SignatureStorage
NewSignatureStorage init storage
func (*SignatureStorage) CleanAll ¶
func (ss *SignatureStorage) CleanAll()
CleanAll removing all from storage
func (*SignatureStorage) Count ¶
func (ss *SignatureStorage) Count() int
Count count sign in storage
func (*SignatureStorage) Get ¶
func (ss *SignatureStorage) Get(id string) Signer
Get getting to storage
Click to show internal directories.
Click to hide internal directories.