sampleexternal

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package sampleexternal 是一个「仓外风格」的参考 Driver 样例:只 import 公共 SDK (sdk/go/driverkit 与 sdk/go/model),不 import 任何 internal/*。它作为 TestExternalStyleDriverCompiles 的编译/运行证明,也随 go build ./... 一起编译。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

Driver 实现 driverkit.Adapter / DescriptorProvider / CapabilityProvider。

func (Driver) Capabilities

func (Driver) Capabilities() []model.Capability

func (Driver) Descriptor

func (Driver) Descriptor(cfg driverkit.Config) model.Descriptor

func (Driver) Name

func (Driver) Name() string

func (Driver) Open

func (Driver) SupportedCommands

func (Driver) SupportedCommands() []string

Jump to

Keyboard shortcuts

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