arlo-go/arlo.go
2018-09-16 23:44:41 -05:00

27 lines
420 B
Go

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