Files
nats-server/server/service.go
2017-06-23 13:56:32 -05:00

12 lines
271 B
Go

// +build !windows
// Copyright 2012-2017 Apcera Inc. All rights reserved.
package server
// Run starts the NATS server. This wrapper function allows Windows to add a
// hook for running NATS as a service.
func Run(server *Server) error {
server.Start()
return nil
}