internal

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePng

func CreatePng(width, height int) (pngBytes []byte, err error)

func GetModulePath

func GetModulePath() (string, error)

func RGBAFromHex

func RGBAFromHex(hex string, alpha float64) color.RGBA

Types

type CapturingResponseWriter

type CapturingResponseWriter struct {
	// contains filtered or unexported fields
}

func (*CapturingResponseWriter) Header

func (c *CapturingResponseWriter) Header() http.Header

func (*CapturingResponseWriter) Write

func (c *CapturingResponseWriter) Write(bytes_ []byte) (int, error)

func (*CapturingResponseWriter) WriteHeader

func (c *CapturingResponseWriter) WriteHeader(statusCode int)

type GoModEditJson

type GoModEditJson struct {
	Module struct {
		Path string `json:"Path"`
	} `json:"Module"`
}

Jump to

Keyboard shortcuts

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