Skip to content
/ api Public

Библиотека запуска пакетного режима 1С. Предприятие

License

Notifications You must be signed in to change notification settings

v8platform/api

Repository files navigation

go-v8platform

ISC License

Реализация программного интерфейсом пакетного режима работы с 1С:Предприятием 8.x

Пример работы

package main

import "github.com/v8platform/api"

func main() {
	
  infobase := v8.NewFileIB("./infobase")
  //infobase := v8.NewServerIB("app", "demobase")
  
  what := v8.LoadCfg("./1cv8.cf")
  //what := v8.DumpCfg("./1cv8.cf)
  //what := v8.DumpIB("./1cv8.dt)
  
  err := v8.Run(infobase, what)
  //err := v8.Run(infobase, what)
  //err := v8.Run(infobase, what, v8.WithTimeout(1), v8.WithPath("path-to-exe"))
  //err := v8.Run(infobase, what, v8.WithCredentials("infobase-user","pwd"), v8.WithUnlockCode("123"))
  
  if err != nil {
     println(err.Error())
  }
  
}

Документация

GoDoc

About

Библиотека запуска пакетного режима 1С. Предприятие

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages