server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const JS = `` /* 137-byte string literal not displayed */
View Source
const JS_IMG = `` /* 156-byte string literal not displayed */
View Source
const NUMBER_TEMPLATE = `
<image x="%d" y="0" width="%d" height="%d" xlink:href="data:image/%s;base64,%s" />
`
View Source
const SVG_TEMPLATE = `` /* 261-byte string literal not displayed */

Variables

This section is empty.

Functions

func BuildCounterImg

func BuildCounterImg(c string) string

func LoadAssets

func LoadAssets(theme string)

func LoadImgage

func LoadImgage(path string)

Types

type Image

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

type Server

type Server struct {
	Config *common.Config
	DB     database.IDatabase
}

func NewInstance

func NewInstance(config *common.Config, db database.IDatabase) *Server

func (Server) Start

func (s Server) Start()

Jump to

Keyboard shortcuts

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