Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

246 B
Raw Blame
package cache

import (
	"context"
	"time"
)

// Cache stores items temporarily
type Cache interface {
	Set(ctx context.Context, key string, value string, ttl time.Duration) error
	Get(ctx context.Context, key string) (value string, err error)
}