factory

package
v0.1.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONRPCRequest

func JSONRPCRequest(method string, params interface{}) jsonrpc2.Request

JSONRPCRequest is a user-defined factory for a JSON-RPC request containing the specified method and parameters.

func PluginInfoInvalid

func PluginInfoInvalid(id int) ulspplugin.PluginInfo

PluginInfoInvalid is a factory for PluginInfo that fails validation.

func PluginInfoValid

func PluginInfoValid(id int) ulspplugin.PluginInfo

PluginInfoValid is a factory for PluginInfo that passes validation.

func Range

func Range() protocol.Range

Range returns a random protocol.Range.

func UUID

func UUID() uuid.UUID

UUID is a user-defined factory for a random uuid.UUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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