nami

package module
v0.0.0-...-75a451b Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 12 Imported by: 0

README

nami

Lightweight game framework with golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(opts ...Option) (a *App, err error)

func (*App) Run

func (a *App) Run() (err error)

func (*App) Stop

func (a *App) Stop() (err error)

type Option

type Option func(*options)

func Context

func Context(ctx context.Context) Option

func ID

func ID(id string) Option

func Logger

func Logger(logger log.Logger) Option

func MetaData

func MetaData(metadata map[string]string) Option

func Name

func Name(name string) Option

func Registrar

func Registrar(registrar registry.Registrar) Option

func Servers

func Servers(srv ...transport.Server) Option

Directories

Path Synopsis
core
log
examples
internal

Jump to

Keyboard shortcuts

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