Documentation
¶
Index ¶
- func GetObject(ops map[string]string, srcs Sources) http.HandlerFunc
- func Login(ops map[string]string, srcs Sources) http.HandlerFunc
- func Metadata(ops map[string]string, srcs Sources) http.HandlerFunc
- func NewSession(c Config) (rets.Requester, io.Closer, error)
- func Search(ops map[string]string, srcs Sources) http.HandlerFunc
- type Config
- type Session
- type Sessions
- type Sources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
func Login(ops map[string]string, srcs Sources) http.HandlerFunc
Login manages de/multiplexing requests to RETS servers
func NewSession ¶
NewSession creates a Rets session from the given config
Types ¶
type Config ¶
type Config struct {
Service string
URL string
User, Password string
UserAgent, UserAgentPassword string
Version string
Proxy string
}
Config sets up a connection
Click to show internal directories.
Click to hide internal directories.