package
0.0.0-20170102144606-65a562254f78
Repository: https://github.com/stffabi/go-plugins-helpers.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Docker volume extension api.

Go handler to create external graphdriver extensions for Docker.

Usage

This library is designed to be integrated in your program.

  1. Implement the graphdriver.Driver interface.
  2. Initialize a graphdriver.Handler with your implementation.
  3. Call either ServeTCP or ServeUnix from the graphdriver.Handler.

Example using TCP sockets:

  d := MyGraphDriver{}
  h := graphdriver.NewHandler(d)
  h.ServeTCP("test_graph", ":8080")

Example using Unix sockets:

  d := MyGraphDriver{}
  h := graphdriver.NewHandler(d)
  h.ServeUnix("root", "test_graph")