Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the engine to serve reserve-rate API query
func NewServer ¶
func NewServer(host string, db storage.ReserveRatesStorage, sugar *zap.SugaredLogger) (*Server, error)
NewServer create an instance of Server to serve API query
Click to show internal directories.
Click to hide internal directories.