Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHost = "0.0.0.0" DefaultPort = "80" )
View Source
const Name = "hub"
Variables ¶
Functions ¶
func NewServer ¶
func NewServer(databaseClient database.Client, redisClient *redis.Client, geoLite2 *geolite2.Client, ethereumMultiChainClient *ethereum.MultiChainClient, nameService *nameresolver.NameResolver) (service.Server, error)
Types ¶
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
func NewHub ¶
func NewHub(ctx context.Context, databaseClient database.Client, redisClient *redis.Client, ethereumMultiChainClient *ethereum.MultiChainClient, geoLite2 *geolite2.Client, nameService *nameresolver.NameResolver) (*Hub, error)
Click to show internal directories.
Click to hide internal directories.