mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Add a useful comment
This commit is contained in:
parent
13837fde04
commit
3765b4240b
@ -24,6 +24,7 @@ type LogState struct {
|
|||||||
LastSuccess time.Time `json:"last_success"`
|
LastSuccess time.Time `json:"last_success"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Methods are safe to call concurrently.
|
||||||
type StateProvider interface {
|
type StateProvider interface {
|
||||||
// Initialize the state. Called before any other method in this interface.
|
// Initialize the state. Called before any other method in this interface.
|
||||||
// Idempotent: returns nil if the state is already initialized.
|
// Idempotent: returns nil if the state is already initialized.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user