server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServerCommand

func CreateServerCommand(logFn LogFunc) *cobra.Command

CreateServerCommand initializes and returns a *cobra.Command that implements the 'server' CLI sub-command

Types

type LogFunc

type LogFunc func(string, ...any)

LogFunc defines a callback function for logging. This type is defined here so that the server implementation is not tied to any specified logging library

Jump to

Keyboard shortcuts

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