Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setDefaultConfig (0.14 sec)

  1. pkg/adsc/adsc.go

    // - on success, start a background thread to maintain the connection, with exp. backoff.
    func New(discoveryAddr string, opts *ADSConfig) (*ADSC, error) {
    	if opts == nil {
    		opts = &ADSConfig{}
    	}
    	opts.Config = setDefaultConfig(&opts.Config)
    	opts.Address = discoveryAddr
    	adsc := &ADSC{
    		Updates:     make(chan string, 100),
    		XDSUpdates:  make(chan *discovery.DiscoveryResponse, 100),
    		VersionInfo: map[string]string{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. pkg/adsc/delta.go

    func NewDelta(discoveryAddr string, config *DeltaADSConfig, opts ...Option) *Client {
    	if config == nil {
    		config = &DeltaADSConfig{}
    	}
    	config.Address = discoveryAddr
    	config.Config = setDefaultConfig(&config.Config)
    	c := &Client{
    		cfg:             config,
    		handlers:        map[string]HandlerFunc{},
    		tree:            map[resourceKey]resourceNode{},
    		errChan:         make(chan error, 10),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top