mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
12 lines
271 B
Go
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
|
|
}
|