github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/emswift/emswiftpkg/api.go (about) 1 // Copyright (c) 2015-2021, NVIDIA CORPORATION. 2 // SPDX-License-Identifier: Apache-2.0 3 4 package emswiftpkg 5 6 import ( 7 "github.com/swiftstack/ProxyFS/conf" 8 ) 9 10 // Start is called to start serving the NoAuth Swift Proxy Port and, 11 // optionally, the Auth Swift Proxy Port 12 // 13 func Start(confMap conf.ConfMap) (err error) { 14 err = start(confMap) 15 return 16 } 17 18 // Stop is called to stop serving 19 // 20 func Stop() (err error) { 21 err = stop() 22 return 23 }