Discover Packages
github.com/ultravioletrs/manager
pkg
clients
grpc
package
Version:
v0.0.0-...-740a631
Opens a new window with list of versions in this module.
Published: Oct 9, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package grpc contains the domain concept definitions needed to support
Agent Client grpc functionality.
NewClient creates new manager gRPC client instance.
type Config struct {
ClientTLS bool `env:"CLIENT_TLS" envDefault:"false"`
CACerts string `env:"CA_CERTS" envDefault:""`
URL string `env:"URL" envDefault:"localhost:7001"`
Timeout time .Duration `env:"TIMEOUT" envDefault:"60s"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.