Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncSubmitTransaction ¶
AsyncSubmitTransaction should be passed into the bot
Types ¶
type Bot ¶
type Bot struct {
Horizon *horizon.Client
Secret string
Network string
StartingBalance string
SubmitTransaction func(bot *Bot, channel chan TxResult, signed string)
// contains filtered or unexported fields
}
Bot represents the friendbot subsystem.
type FriendbotHandler ¶
type FriendbotHandler struct {
Friendbot *Bot
}
FriendbotHandler causes an account at `Address` to be created.
func (*FriendbotHandler) Handle ¶
func (handler *FriendbotHandler) Handle(w http.ResponseWriter, r *http.Request)
Handle is a method that implements http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.