MCPcopy
hub / github.com/cshum/imagor / Signer

Interface Signer

imagorpath/signer.go:11–13  ·  view source on GitHub ↗

Signer imagor URL signature signer

Source from the content-addressed store, hash-verified

9
10// Signer imagor URL signature signer
11type Signer interface {
12 Sign(path string) string
13}
14
15// NewDefaultSigner default signer using SHA1 with secret
16func NewDefaultSigner(secret string) Signer {

Callers 7

DoMethod · 0.65
TestColorImagePathFunction · 0.65
TestParseGenerateFunction · 0.65
TestHMACSignerFunction · 0.65
GenerateFunction · 0.65
TestBasicFunction · 0.65
TestSignerAlgorithmFunction · 0.65

Implementers 1

hmacSignerimagorpath/signer.go

Calls

no outgoing calls

Tested by

no test coverage detected