//Start registers localfileservice instances func Start() { services.Registerblobgeter(Instance) services.Registercommitgeter(Instance) services.Registertaggeter(Instance) services.Registertagsgeter(Instance) services.Registerkeygeter(Instance) services.Registerblobposter(Instance) services.Registercommitposter(Instance) services.Registertagposter(Instance) services.Registerkeyposter(Instance) running = true }
//Start registers kademliadhtservice instances func Start() { Instance = kademliaservicefactory() services.Registerblobgeter(Instance) services.Registercommitgeter(Instance) services.Registertaggeter(Instance) //services.Registertagsgeter(Instance) services.Registerkeygeter(Instance) services.Registerblobposter(Instance) services.Registercommitposter(Instance) services.Registertagposter(Instance) services.Registerkeyposter(Instance) running = true }