widgets

package
v0.0.0-...-3e33638 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAuthorWidget

func GenerateAuthorWidget(steamId string, config ImgConfig) ([]byte, error)

func GenerateModWidget

func GenerateModWidget(modname string, config ImgConfig) ([]byte, error)

Types

type ImgConfig

type ImgConfig struct {
	TextColor    color.Color
	BgColor      color.Color
	BorderColor  color.Color
	BorderWidth  uint64
	CornerRadius uint64
	Version      string
	Font         string
}

Jump to

Keyboard shortcuts

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