Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parameter (0.16 sec)

  1. internal/config/identity/ldap/config.go

    	}
    
    	if err := s.CheckValidKeys(config.IdentityLDAPSubSys, removedKeys); err != nil {
    		return l, err
    	}
    
    	getCfgVal := func(cfgParam string) string {
    		// As parameters are already validated, we skip checking
    		// if the config param was found.
    		val, _, _ := s.ResolveConfigParam(config.IdentityLDAPSubSys, config.Default, cfgParam, false)
    		return val
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  2. internal/config/config.go

    func (ge ErrConfigGeneric) Error() string {
    	return ge.msg
    }
    
    // ErrConfigNotFound is an error to indicate
    // that a config parameter is not found
    type ErrConfigNotFound struct {
    	ErrConfigGeneric
    }
    
    // Error creates an error message and wraps
    // it with the error type specified in the type parameter
    func Error[T ErrorConfig, PT interface {
    	*T
    	setMsg(string)
    }](format string, vals ...interface{},
    ) T {
    	pt := PT(new(T))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top