myxce/src/frontend/apiserver/backend/config.go

10 lines
400 B
Go

package backend
// BackendConfig holds connection parameters for the XCE controller.
// Used by RegisterToBackend to establish the C client connection.
type BackendConfig struct {
Address string // controller hostname (e.g. "localhost")
Port int // controller port (e.g. 9990)
From string // identity sent to controller (default: "xce_apiserver")
Key string // authentication key
}