domain.go 331 B

123456789101112131415
  1. package uuid
  2. import (
  3. "github.com/golang-plus/uuid/internal/dcesecurity"
  4. )
  5. // Domain represents the identifier for a local domain.
  6. type Domain byte
  7. const (
  8. // DomainUser represents POSIX UID domain.
  9. DomainUser = Domain(dcesecurity.User)
  10. // DomainGroup represents POSIX GID domain.
  11. DomainGroup = Domain(dcesecurity.Group)
  12. )