Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddress ¶
func GetCredentials ¶
func GetCredentials(app App, urlObj *url.URL) (credentials.TransportCredentials, error)
Types ¶
type App ¶
type App struct { // The name of the app. Name string `json:"name"` // The URI of the gRPC server, supported schemes are `grpc:`, `grpcs:`, `http:`, `https:` or // `xds:`. Uri string `json:"uri"` // If this app can be served by as the gRPC server by GoRPC. Serve bool `json:"serve"` // The services served by this app. Services []string `json:"services"` // The CA filename when using TLS/SSL. Ca string `json:"ca"` // The certificate filename when using TLS/SSL. Cert string `json:"cert"` // The private key filename when using TLS/SSL. Key string `json:"key"` Stdout string `json:"stdout"` Stderr string `json:"stderr"` Entry string `json:"entry"` Env map[string]string `json:"env"` }
App is used both to configure the apps.
Click to show internal directories.
Click to hide internal directories.