package ports import ( "context" "time" ) // UpdateCache defines cache operations for update service type UpdateCache interface { GetUpdateInfo(ctx context.Context) (string, error) SetUpdateInfo(ctx context.Context, data string, ttl time.Duration) error }