add fragment_container so Cruncher builds

This commit is contained in:
travisturner 2013-12-16 10:11:04 -06:00
parent ce8a17eded
commit d8051ea1be

View file

@ -33,7 +33,8 @@ func (cruncher *Cruncher) Run(port int) {
func NewCruncher() *Cruncher {
service := core.NewService()
cruncher := Cruncher{*service, make(chan bool)}
fragment_container := index.NewFragmentContainer()
cruncher := Cruncher{*service, make(chan bool), fragment_container}
cruncher.Transport = transport.NewTcpTransport(service)
cruncher.Dispatch = dispatch.NewCruncherDispatch(service)
return &cruncher