Skip to content

Add command interface #15

@bootjp

Description

@bootjp
type CommandHandler interface {
	Handler(conn redcon.Conn, cmd redcon.Command)
}

type Redis struct {
	port            string
	host            string
	UseCache        bool
	UseDirtyWrite   bool
	s3              *S3
	handler         func(conn redcon.Conn, cmd redcon.Command)
	commandHandlers map[string]CommandHandler
}


type Get struct {
}

func (h* Get) Handler(conn redcon.Conn, cmd redcon.Command) {

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions