Documentation
¶
Overview ¶
Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BCDBHTTPServer ¶
type BCDBHTTPServer struct {
// contains filtered or unexported fields
}
BCDBHTTPServer holds the database and http server objects
func New ¶
func New(conf *config.Configurations) (*BCDBHTTPServer, error)
New creates a object of BCDBHTTPServer
func (*BCDBHTTPServer) IsLeader ¶
func (s *BCDBHTTPServer) IsLeader() *ierrors.NotLeaderError
func (*BCDBHTTPServer) Port ¶
func (s *BCDBHTTPServer) Port() (port string, err error)
Port returns port number server allocated to run on
Click to show internal directories.
Click to hide internal directories.