Documentation ¶
Overview ¶
Package internal contains all logic for monitoring service
Package internal contains all logic for monitoring service ¶
Package internal contains all logic for monitoring service ¶
Package internal contains all logic for monitoring service ¶
Package internal contains all logic for monitoring service ¶
Package internal contains all logic for monitoring service
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ProxyUrls = map[network]string{ // contains filtered or unexported fields }
ProxyUrls for proxy urls
var RelayURLS = map[network]string{ // contains filtered or unexported fields }
RelayURLS for relay urls
var SubstrateURLs = map[network][]string{ // contains filtered or unexported fields }
SubstrateURLs for substrate urls
Functions ¶
func TryDecodeBase64OrElse ¶
TryDecodeBase64OrElse tries to decode a possibly base64 encoded string into a byte array or returns the string as a byte array assuming it was decoded already
Types ¶
type GridProxyClient ¶
type GridProxyClient struct {
// contains filtered or unexported fields
}
GridProxyClient struct
func NewGridProxyClient ¶
func NewGridProxyClient(endpoint string) (*GridProxyClient, error)
NewGridProxyClient generates a new proxy client for endpoint
func (GridProxyClient) Ping ¶
func (r GridProxyClient) Ping() error
Ping send a GET request to grid proxy ping endpoint and checks the response for pong
type Identity ¶
Identity is the user identity to be used in substrate
func NewIdentityFromSr25519Phrase ¶
NewIdentityFromSr25519Phrase generates a new Sr25519 identity from mnemonics
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor for bot monitoring
func NewMonitor ¶
NewMonitor creates a new instance of monitor