package store

type command struct {
	Op    string
	Key   string
	Value string
}

func NewSetCommand(key, value string) *command {
	return &command{
		Op:    "set",
		Key:   key,
		Value: value,
	}
}

func NewDeleteCommand(key string) *command {
	return &command{
		Op:  "delete",
		Key: key,
	}
}
