github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/protocol/society.go (about)

     1  /* For license and copyright information please see LEGAL file in repository */
     2  
     3  package protocol
     4  
     5  // SocietyID indicate society ID with some usefull methods
     6  type SocietyID uint32
     7  
     8  const (
     9  	SocietyUnSet SocietyID = iota
    10  	SocietyPersia
    11  	SocietyIran
    12  )
    13  
    14  // SocietyUUID = sha512.Sum512_256([]byte(SocietyName))