Commit ccfd990e authored by Harshit Pande's avatar Harshit Pande

shared log started

parent 377f8447
...@@ -27,6 +27,10 @@ type ClusterConfig struct { ...@@ -27,6 +27,10 @@ type ClusterConfig struct {
Servers []ServerConfig // All servers in this cluster Servers []ServerConfig // All servers in this cluster
} }
type SharedLogData struct {
LogEntryData []
}
func NewServerConfig(server_id int) (*ServerConfig, error) { func NewServerConfig(server_id int) (*ServerConfig, error) {
this_server := new(ServerConfig) this_server := new(ServerConfig)
this_server.Id = server_id this_server.Id = server_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment