github.com/decred/dcrlnd@v0.7.6/lnrpc/autopilotrpc/config_active.go (about) 1 //go:build !no_autopilotrpc 2 // +build !no_autopilotrpc 3 4 package autopilotrpc 5 6 import ( 7 "github.com/decred/dcrlnd/autopilot" 8 ) 9 10 // Config is the primary configuration struct for the autopilot RPC server. It 11 // contains all the items required for the rpc server to carry out its 12 // duties. The fields with struct tags are meant to be parsed as normal 13 // configuration options, while if able to be populated, the latter fields MUST 14 // also be specified. 15 type Config struct { 16 // Manager is the running autopilot manager. 17 Manager *autopilot.Manager 18 }