assets

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package assets holds binary assets that multiple adapters embed and serve. Keeping them here — rather than duplicated under each adapter's directory — means a new connector ships one icon file that every adapter picks up.

This package must not import domain or ports; it's a leaf package shared across adapters. Any lookup by ProviderType lives in the calling adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadProviderIcon

func ReadProviderIcon(iconID string) ([]byte, error)

ReadProviderIcon returns the raw bytes of the provider icon for iconID. Returns an error if no asset is present for that IconID.

func SerchaIconPNG

func SerchaIconPNG() []byte

SerchaIconPNG returns the Sercha brand icon as raw PNG bytes. Raster form for hosts that don't accept SVG (most MCP clients today restrict to raster to avoid script-embedded SVG payloads).

func SerchaIconSVG

func SerchaIconSVG() []byte

SerchaIconSVG returns the Sercha brand icon as raw SVG bytes. Vector form; suitable for any renderer that supports SVG.

Types

This section is empty.

Jump to

Keyboard shortcuts

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