Versions in this module Expand all Collapse all v0 v0.4.9 Mar 31, 2015 v0.4.6 Jul 29, 2014 Changes in this version type CommandFactory + func (f *CommandFactory) CreateGetCommand(key string, recursive, sorted bool) raft.Command + type GetCommand struct + Key string + Recursive bool + Sorted bool + func (c *GetCommand) Apply(context raft.Context) (interface{}, error) + func (c *GetCommand) CommandName() string v0.4.5 Jul 8, 2014 v0.4.4 Jun 24, 2014 v0.4.3 Jun 8, 2014 v0.4.1 May 21, 2014 v0.4.0 May 21, 2014 v0.3.0 Feb 7, 2014 Changes in this version + type CommandFactory struct + func (f *CommandFactory) CreateCompareAndDeleteCommand(key string, prevValue string, prevIndex uint64) raft.Command + func (f *CommandFactory) CreateCompareAndSwapCommand(key string, value string, prevValue string, prevIndex uint64, ...) raft.Command + func (f *CommandFactory) CreateCreateCommand(key string, dir bool, value string, expireTime time.Time, unique bool) raft.Command + func (f *CommandFactory) CreateDeleteCommand(key string, dir, recursive bool) raft.Command + func (f *CommandFactory) CreateSetCommand(key string, dir bool, value string, expireTime time.Time) raft.Command + func (f *CommandFactory) CreateSyncCommand(now time.Time) raft.Command + func (f *CommandFactory) CreateUpdateCommand(key string, value string, expireTime time.Time) raft.Command + func (f *CommandFactory) CreateUpgradeCommand() raft.Command + func (f *CommandFactory) Version() int + type CompareAndDeleteCommand struct + Key string + PrevIndex uint64 + PrevValue string + func (c *CompareAndDeleteCommand) Apply(server raft.Server) (interface{}, error) + func (c *CompareAndDeleteCommand) CommandName() string + type CompareAndSwapCommand struct + ExpireTime time.Time + Key string + PrevIndex uint64 + PrevValue string + Value string + func (c *CompareAndSwapCommand) Apply(context raft.Context) (interface{}, error) + func (c *CompareAndSwapCommand) CommandName() string + type CreateCommand struct + Dir bool + ExpireTime time.Time + Key string + Unique bool + Value string + func (c *CreateCommand) Apply(context raft.Context) (interface{}, error) + func (c *CreateCommand) CommandName() string + type DeleteCommand struct + Dir bool + Key string + Recursive bool + func (c *DeleteCommand) Apply(context raft.Context) (interface{}, error) + func (c *DeleteCommand) CommandName() string + type SetCommand struct + Dir bool + ExpireTime time.Time + Key string + Value string + func (c *SetCommand) Apply(context raft.Context) (interface{}, error) + func (c *SetCommand) CommandName() string + type SyncCommand struct + Time time.Time + func (c SyncCommand) Apply(context raft.Context) (interface{}, error) + func (c SyncCommand) CommandName() string + type UpdateCommand struct + ExpireTime time.Time + Key string + Value string + func (c *UpdateCommand) Apply(context raft.Context) (interface{}, error) + func (c *UpdateCommand) CommandName() string v0.2.0-rc4 Dec 23, 2013 v0.2.0-rc3 Dec 16, 2013 v0.2.0-rc2 Dec 6, 2013 v0.2.0-rc1 Nov 14, 2013