Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { RaftServer *coordinator.RaftServer Db datastore.Datastore ProtobufServer *coordinator.ProtobufServer ClusterConfig *coordinator.ClusterConfiguration HttpApi *http.HttpServer AdminServer *admin.HttpServer Coordinator coordinator.Coordinator Config *configuration.Configuration RequestHandler *coordinator.ProtobufRequestHandler // contains filtered or unexported fields }
func NewServer ¶
func NewServer(config *configuration.Configuration) (*Server, error)
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.