github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/depends/testutil/httptransporttestutil/server/cmd/app/main.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/machinefi/w3bstream/pkg/depends/kit/httptransport"
     5  	"github.com/machinefi/w3bstream/pkg/depends/kit/kit"
     6  	"github.com/machinefi/w3bstream/pkg/depends/testutil/httptransporttestutil/server/cmd/app/routes"
     7  )
     8  
     9  func main() {
    10  	ht := &httptransport.HttpTransport{
    11  		Port: 8080,
    12  	}
    13  	ht.SetDefault()
    14  
    15  	kit.Run(routes.RootRouter, ht)
    16  }