SYMBOL INDEX (19 symbols across 4 files) FILE: command/write_command.go type WriteCommand (line 9) | type WriteCommand struct method CommandName (line 23) | func (c *WriteCommand) CommandName() string { method Apply (line 28) | func (c *WriteCommand) Apply(server raft.Server) (interface{}, error) { function NewWriteCommand (line 15) | func NewWriteCommand(key string, value string) *WriteCommand { FILE: db/db.go type DB (line 8) | type DB struct method Get (line 21) | func (db *DB) Get(key string) string { method Put (line 28) | func (db *DB) Put(key string, value string) { function New (line 14) | func New() *DB { FILE: main.go function init (line 22) | func init() { function main (line 35) | func main() { FILE: server/server.go type Server (line 22) | type Server struct method connectionString (line 58) | func (s *Server) connectionString() string { method ListenAndServe (line 63) | func (s *Server) ListenAndServe(leader string) error { method HandleFunc (line 125) | func (s *Server) HandleFunc(pattern string, handler func(http.Response... method Join (line 130) | func (s *Server) Join(leader string) error { method joinHandler (line 147) | func (s *Server) joinHandler(w http.ResponseWriter, req *http.Request) { method readHandler (line 160) | func (s *Server) readHandler(w http.ResponseWriter, req *http.Request) { method writeHandler (line 166) | func (s *Server) writeHandler(w http.ResponseWriter, req *http.Request) { function New (line 35) | func New(path string, host string, port int) *Server {