Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/config/api/api.go

    		RootAccess:    rootAccess,
    	}
    
    	var corsAllowOrigin []string
    	corsList := env.Get(EnvAPICorsAllowOrigin, kvs.Get(apiCorsAllowOrigin))
    	if corsList == "" {
    		corsAllowOrigin = []string{"*"} // defaults to '*'
    	} else {
    		corsAllowOrigin = strings.Split(corsList, ",")
    		for _, cors := range corsAllowOrigin {
    			if cors == "" {
    				return cfg, errors.New("invalid cors value")
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  2. internal/fips/api.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package fips provides functionality to configure cryptographic
    // implementations compliant with FIPS 140.
    //
    // FIPS 140 [1] is a US standard for data processing that specifies
    // requirements for cryptographic modules. Software that is "FIPS 140
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
Back to top