Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { Horizon *horizon.Client Secret string Network string StartingBalance 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.