mirror of
https://github.com/Chipazawra/rac.git
synced 2024-11-21 17:16:44 +02:00
Библиотека для работы с
rac
от 1С. Предприятие
d1d1d8de19
feature(newManager): fill racPath from ManagerOptions |
||
---|---|---|
.gitignore | ||
clusters_test.go | ||
clusters.go | ||
connections_test.go | ||
connections.go | ||
example_test.go | ||
go.mod | ||
go.sum | ||
helpers.go | ||
infobases_test.go | ||
infobases.go | ||
LICENSE | ||
logger.go | ||
manager.go | ||
marshaler.go | ||
options.go | ||
parser_others.go | ||
parser_windows.go | ||
process_test.go | ||
process.go | ||
README.md | ||
responde.go | ||
runner.go | ||
sessions_test.go | ||
sessions.go | ||
unmarshaler_test.go | ||
unmarshaler.go | ||
utils.go |
rac
Исполнитель rac
от 1С Предприятие
Пример использования
package main
import (
"github.com/k0kubun/pp"
"github.com/v8platform/rac"
"log"
)
func main() {
manager, err := rac.NewManager("localhost")
if err != nil {
log.Fatal(err)
}
clusters, err := manager.Clusters(rac.ClustersList{})
if err != nil {
log.Fatal(err)
}
pp.Println(clusters)
infobases, err := manager.InfobasesList()
if err != nil {
log.Fatal(err)
}
pp.Println(infobases)
}