github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/pehrest/init.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package pehrest 4 5 import ( 6 "../protocol" 7 ) 8 9 const ( 10 DomainName = "index.protocol" 11 ) 12 13 func init() { 14 15 protocol.OS.RegisterMediaType(&indexHashStructure) 16 // protocol.OS.RegisterMediaType(&) 17 18 protocol.App.RegisterService(&HashDeleteKeyHistoryService) 19 protocol.App.RegisterService(&HashDeleteKeyService) 20 protocol.App.RegisterService(&HashDeleteValueService) 21 protocol.App.RegisterService(&HashGetValuesNumberService) 22 protocol.App.RegisterService(&HashGetValuesService) 23 protocol.App.RegisterService(&HashListenToKeyService) 24 protocol.App.RegisterService(&HashInsertValueService) 25 protocol.App.RegisterService(&HashSetValueService) 26 27 protocol.App.RegisterService(&HashTransactionFinishService) 28 protocol.App.RegisterService(&HashTransactionGetValuesService) 29 protocol.App.RegisterService(&HashTransactionRegisterService) 30 31 // protocol.App.RegisterService() 32 }