Discover Packages
github.com/ultravioletrs/agent
pkg
clients
grpc
package
Version:
v0.0.0-...-4bf80d3
Opens a new window with list of versions in this module.
Published: Oct 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
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 agent 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:7020"`
Timeout time .Duration `env:"TIMEOUT" envDefault:"60s"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.