Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides the API for working with autocert cache. This service implements autocert.Cache interface.
func NewService ¶
NewService returns a new service reference wrapping the input state.
type State ¶
type State interface { // Put implements autocert.Cache.Put. Put(ctx context.Context, name string, data []byte) error // Get implements autocert.Cache.Get. Get(ctx context.Context, name string) ([]byte, error) // Delete implements autocert.Cache.Delete. Delete(ctx context.Context, name string) error }
State describes retrieval and persistence methods for storage.
Click to show internal directories.
Click to hide internal directories.