gasz

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPClient

func GetHTTPClient() *http.Client

GetHTTPClient - HTTP client to be used for talking to Telegram servers & `gasz : Ethereum Gas Price Notifier` server

When new message will be received from telegram over Webhook, it'll be responded back using this custom HTTP client

When it's required to talk to `gasz`, for getting latest gas price feed this client to be used

func SubscribeToLatest

func SubscribeToLatest(ctx context.Context, comm chan<- struct{}, resources *data.Resources)

SubscribeToLatest - Subscribe to latest gas price feed of `gasz`

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL