1. 23 Jan, 2015 2 commits
  2. 22 Jan, 2015 2 commits
    • Brian Tiger Chow's avatar
      separate concerns · fadede6c
      Brian Tiger Chow authored
      fadede6c
    • Brian Tiger Chow's avatar
      refactor(core) extract corehttp package · fadedf9e
      Brian Tiger Chow authored
      PACKAGE DOCUMENTATION
      
      package corehttp
      
          FUNCTIONS
      
          func GatewayOption(n *core.IpfsNode, mux *http.ServeMux) error
      
          func ListenAndServe(n *core.IpfsNode, addr ma.Multiaddr, options
          ...ServeOption) error
      
          func WebUIOption(n *core.IpfsNode, mux *http.ServeMux) error
      
          TYPES
      
          type ServeOption func(*core.IpfsNode, *http.ServeMux) error
      
          func DaemonOption(cctx commands.Context) ServeOption
      fadedf9e
  3. 21 Jan, 2015 9 commits
  4. 19 Jan, 2015 3 commits
  5. 18 Jan, 2015 13 commits
  6. 17 Jan, 2015 2 commits
  7. 14 Jan, 2015 8 commits
  8. 13 Jan, 2015 1 commit
    • Brian Tiger Chow's avatar
      style(repo): repo.Interface -> repo.Repo · 3eafb3e5
      Brian Tiger Chow authored
      The pkg.Interface style is modeled after heap.Interface. Generally, I
      find it helpful for interfaces that have many implementations. It
      provides clear distinction between the generic interface and the |n|
      implementations that implement it (which may be interface types
      themselves).
      
      For clients who cannot keep the repo name, one can imagine that the most
      likely rename is `ipfsrepo`. In that case, `ipfsrepo.Interface` remains
      meaningful.
      
      This is low-pri so it doesn't matter than much. But for the record, the
      repo.Interface feels appropriate in this use-case.
      3eafb3e5