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 serve token price via http endpoint
func NewServer ¶
func NewServer(sugar *zap.SugaredLogger, host string, storage storage.Storage, providers []tokenrate.ETHUSDRateProvider) *Server
NewServer return server instance
Click to show internal directories.
Click to hide internal directories.