26 lines
757 B
Go
26 lines
757 B
Go
package unifi
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func (c *client) ListHotspot2Conf(ctx context.Context, site string) ([]Hotspot2Conf, error) {
|
|
return c.listHotspot2Conf(ctx, site)
|
|
}
|
|
|
|
func (c *client) GetHotspot2Conf(ctx context.Context, site, id string) (*Hotspot2Conf, error) {
|
|
return c.getHotspot2Conf(ctx, site, id)
|
|
}
|
|
|
|
func (c *client) DeleteHotspot2Conf(ctx context.Context, site, id string) error {
|
|
return c.deleteHotspot2Conf(ctx, site, id)
|
|
}
|
|
|
|
func (c *client) CreateHotspot2Conf(ctx context.Context, site string, d *Hotspot2Conf) (*Hotspot2Conf, error) {
|
|
return c.createHotspot2Conf(ctx, site, d)
|
|
}
|
|
|
|
func (c *client) UpdateHotspot2Conf(ctx context.Context, site string, d *Hotspot2Conf) (*Hotspot2Conf, error) {
|
|
return c.updateHotspot2Conf(ctx, site, d)
|
|
}
|