go-plugins-helpers icon indicating copy to clipboard operation
go-plugins-helpers copied to clipboard

h.ServeUnix("root", "test_volume") can't compile

Open reachlin opened this issue 7 years ago • 1 comments

in the readme, the sample code is

h.ServeUnix("root", "test_volume")

but the ServeUnix takes int as the second parameter now? https://github.com/docker/go-plugins-helpers/blob/master/sdk/handler.go

reachlin avatar Mar 21 '17 10:03 reachlin

@reachlin , the second parameter is the gid now, usually the gid for root. For usage please refer to: https://github.com/casbin/casbin-authz-plugin/blob/master/main.go

hsluoyz avatar May 20 '17 15:05 hsluoyz