Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "feeds", Short: "tl.net feed service", Run: func(cmd *cobra.Command, args []string) { ctx := context.Background() log.Info().Msg("cache: cache will be registered") service.RegisterCache(ctx) log.Info().Msgf("service: feed service will start at port %d", port) if err := service.NewFeedService(port).Serve(ctx); err != nil { panic(err) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
func EnableDebug ¶
func EnableDebug()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.