1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2025-07-01 19:58:37 -04:00

Improve some request/response documentation

This commit is contained in:
2017-03-31 15:29:57 -04:00
parent e755650521
commit d07455d797
2 changed files with 17 additions and 1 deletions

View File

@ -7,6 +7,11 @@ import (
"time"
)
// Request is the top-level object marshalled and sent to OFX servers. It is
// constructed by appending one or more request objects to the message set they
// correspond to (i.e. appending StatementRequest to Request.Bank to get a bank
// statemement). If a *Request object is appended to the wrong message set, an
// error will be returned when Marshal() is called on this Request.
type Request struct {
URL string
Version string // OFX version string, overwritten in Client.Request()