1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor/github.com/docker/swarmkit/manager/watchapi/server.go
Nishant Totla 1b68641fc8
Vendor swarmkit f420c4b9e1535170fc229db97ee8ac32374020b1
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2017-05-05 14:18:12 -07:00

17 lines
300 B
Go

package watchapi
import (
"github.com/docker/swarmkit/manager/state/store"
)
// Server is the store API gRPC server.
type Server struct {
store *store.MemoryStore
}
// NewServer creates a store API server.
func NewServer(store *store.MemoryStore) *Server {
return &Server{
store: store,
}
}