Git Product home page Git Product logo

Comments (9)

dhubler avatar dhubler commented on July 28, 2024

from yang.

HRogge avatar HRogge commented on July 28, 2024

first time I look at this file (trigger.go)... do you have an example how this code is used together with yang/restconf?

from yang.

dhubler avatar dhubler commented on July 28, 2024

from yang.

dhubler avatar dhubler commented on July 28, 2024

closing. reopen if you see something

from yang.

HRogge avatar HRogge commented on July 28, 2024

Hi, I am finally back working on our Restconf code and still hitting the same issue.

I think my trouble I have comes from the issue that the Restconf API forces a "hidden" go-routine into my code, which makes synchronization quite difficult.

Is it possible to run the restconf API with an already http.Server instance, just handing off the routed serveHttp() call into the API? This way it would be quite easy to lock down the data structures before calling into the library code and then unlocking them when restconf has handled the http-call.

from yang.

dhubler avatar dhubler commented on July 28, 2024

from yang.

HRogge avatar HRogge commented on July 28, 2024

Hmm... is there a way to generate a restconf.Server instance without having an "fc-restconf" module attached to it? Because the fc-restconf node is always one step away from spawning its own http-server if I see it correctly.

from yang.

dhubler avatar dhubler commented on July 28, 2024

from yang.

HRogge avatar HRogge commented on July 28, 2024

I will look into it...

from yang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.