Coder Social home page Coder Social logo

Comments (3)

znkr avatar znkr commented on August 14, 2024 1

I think what got me confused is that the client is always called Provider in Go.

Anyway, your suggestion is sound and I am happy to send a PR with the change in the coming days, but I don't mind if someone else changes it.

from libdns.

mholt avatar mholt commented on August 14, 2024

This is a good point. Yes, I think we strengthened requirements in the godoc more recently than the wiki.

By "provider" we mean the actual remote service. I can't see a use of the term "provider" in the quoted text that means the client implementation. (We use "client implementation" for that.)

But yeah, we should probably clear this up:

  • Client implementations (libdns packages) must be thread-safe, i.e. safe for concurrent-use, i.e. no data races.
  • Two simultaneous method calls must result in either an error or the expected outcome of each call to be applied successfully.

Maybe we can start with this, I'd love to hear your thoughts on it.

from libdns.

mholt avatar mholt commented on August 14, 2024

Thanks! Gotcha, yeah some of the early code/comments might be ambiguous since I was still trying to narrow down terminology and stuff.

from libdns.

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.