Files
gopeed/bind/mobile/main.go
T

18 lines
368 B
Go

package libgopeed
// #cgo LDFLAGS: -static-libstdc++
import "C"
import (
"github.com/GopeedLab/gopeed/bind"
"github.com/GopeedLab/gopeed/pkg/api"
"github.com/GopeedLab/gopeed/pkg/api/model"
)
func Create(config *model.StartConfig) string {
return bind.Create(config)
}
func Invoke(index int, request *api.Request) string {
return bind.Invoke(index, request)
}