webserver

package
v0.0.0-...-330b22d Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	croupier.Croupier
	// contains filtered or unexported fields
}

Broker manages the internal state of the Croupier API.

func New

func New(cfg Config) *Broker

New initializes a new Croupier API.

func (*Broker) Start

func (bkr *Broker) Start(binder func(s Server, r *mux.Router))

Start the Croupier service

type Config

type Config struct {
	Port int
}

Config for the Croupier API.

type Server

type Server interface {
	croupier.Croupier
}

Jump to

Keyboard shortcuts

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