engine

package module
v0.0.0-...-df128bb Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, i Interface, c *Config) error

Types

type Config

type Config struct {
	Title    string
	UpdateHz int
}

type Interface

type Interface interface {
	Resize(ctx context.Context) error
	Update(ctx context.Context, advance bool) error
	Render(ctx context.Context) error
}

Directories

Path Synopsis
gfx

Jump to

Keyboard shortcuts

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