we no longer need to pass in the kind

remove option function WithKind
This commit is contained in:
2026-02-07 13:58:37 +00:00
parent 8a452c83b9
commit 3c47d12719
7 changed files with 47 additions and 56 deletions

View File

@@ -121,7 +121,6 @@ func connect(config Config) (*xair.X32Client, error) {
client, err := xair.NewX32Client(
config.Host,
config.Port,
xair.WithKind("x32"),
xair.WithTimeout(config.Timeout),
)
if err != nil {

View File

@@ -119,7 +119,6 @@ func connect(config Config) (*xair.XAirClient, error) {
client, err := xair.NewXAirClient(
config.Host,
config.Port,
xair.WithKind("xair"),
xair.WithTimeout(config.Timeout),
)
if err != nil {