Versions in this module Expand all Collapse all v0 v0.1.0 Jan 22, 2020 Changes in this version + type Opt func(opts *allOpts) + type RESTAPI struct + func NewRESTAPI(node *zkvote.Node, opts ...Opt) (*RESTAPI, error) + func (c *RESTAPI) GetHandlers() []controller.Handler + type Server struct + func NewServer(node *zkvote.Node, serverAddr string) (*Server, error) + func (s *Server) ListenAndServe() error