File: const.go

package info (click to toggle)
golang-github-go-webauthn-webauthn 0.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704 kB
  • sloc: makefile: 2
file content (16 lines) | stat: -rw-r--r-- 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package webauthn

import (
	"time"
)

const (
	errFmtFieldEmpty       = "the field '%s' must be configured but it is empty"
	errFmtFieldNotValidURI = "field '%s' is not a valid URI: %w"
	errFmtConfigValidate   = "error occurred validating the configuration: %w"
)

const (
	defaultTimeoutUVD = time.Millisecond * 120000
	defaultTimeout    = time.Millisecond * 300000
)