package
0.0.0-20220905211724-517d22709a22
Repository: https://github.com/artnoi43/fngobot.git
Documentation: pkg.go.dev

# README

github.com/artnoi43/fngobot/lib/bot

This package contains simple logic, e.g. how to get a quote and how to determine if the price has matched a condition.

github.com/artnoi43/fngobot/lib/bot/handler

Package handler defines the chatbot handler's logic, e.g. how to send the messages to users. It also declares Handler and Handlers interfaces for you to implement your own handlers.

# Functions

GetQuoteAndAlert is routinely called with a time.Ticker.
Match sends a truthy value into matched channel if the specified market condition is matched.

# Structs

Alert struct stores info about price alerts.
Security is a struct storing info about how to get the quotes.

# Interfaces

For adapter/fetch to import.

# Type aliases

No description provided by the author