service

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	keymapv1.UnimplementedOnekeymapServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(
	registry *plugins.Registry,
	importer importapi.Importer,
	exporter exportapi.Exporter,
	mappingConfig *mappings.MappingConfig,
	logger *slog.Logger,
	opt ServerOption,
) *Server

func (*Server) ConfigDetect

func (*Server) ExportKeymap

func (*Server) GetKeymap

func (*Server) ImportKeymap

func (*Server) SaveKeymap

type ServerOption

type ServerOption struct {
	Sandbox bool
}

Jump to

Keyboard shortcuts

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