embed

package
v0.0.0-...-f0d4de4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DataFolder string
}

type ImageGenerator

type ImageGenerator interface {
	Generate(sim store.Simulation, outpath string) error
}

type Server

type Server struct {
	Router *chi.Mux

	Log       *zap.SugaredLogger
	Store     store.SimStore
	Generator ImageGenerator
	// contains filtered or unexported fields
}

Server contains an authentication server

func New

func New(cfg Config, cust ...func(*Server) error) (*Server, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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