test

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2022 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:   "test",
	Short: "Send a series of test messages to the server",

	Run: func(cmd *cobra.Command, args []string) {
		log := viper.Get("logger").(zerolog.Logger)

		host := viper.GetString("fossil.host")
		target := proto.ParseConnectionString(host)

		client, err := fossil.NewClient(host)
		if err != nil {
			log.Error().Err(err).Str("address", target.Address).Msg("unable to connect to server")
		}

		timeIt("RandomCountBytesTest", client, RandomCountBytesTest)
	},
}

Functions

func RandomCountBytesTest

func RandomCountBytesTest(client fossil.Client)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL