Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RestServer ¶
type RestServer struct { Mux *mux.Router CliCtx context.CLIContext KeyBase keybase.Keybase // contains filtered or unexported fields }
RestServer represents the Light Client Rest server
func NewRestServer ¶
func NewRestServer(cdc *codec.Codec) *RestServer
NewRestServer creates a new rest server instance
func (*RestServer) Start ¶
func (rs *RestServer) Start(listenAddr string, maxOpen int, readTimeout, writeTimeout uint, kafkaBool bool, kafkaState kafka.KafkaState) (err error)
Start starts the rest server
Click to show internal directories.
Click to hide internal directories.