arlo-go/arlo.go

27 lines
420 B
Go
Raw Normal View History

package arlo_golang
2017-12-10 19:17:09 +00:00
import (
"github.com/jeffreydwalter/arlo-golang/internal/request"
2017-12-10 19:17:09 +00:00
)
type Arlo struct {
user string
pass string
client *request.Client
Account Account
Basestations Basestations
Cameras Cameras
2017-12-10 19:17:09 +00:00
}
func newArlo(user string, pass string) *Arlo {
c, _ := request.NewClient(BaseUrl)
arlo := &Arlo{
user: user,
pass: pass,
client: c,
}
return arlo
}