puzzledbtest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LocalHost = "localhost"
)

Variables

This section is empty.

Functions

func NewPluginManager added in v0.9.0

func NewPluginManager() *puzzledb.PluginManager

Types

type Client added in v0.9.0

type Client struct {
	*puzzledb.Client
}

func NewClient added in v0.9.0

func NewClient() *Client

type Server

type Server struct {
	*puzzledb.Server
	Host string
}

Server represents an example server.

func NewServer

func NewServer() *Server

NewServer returns a new testserver instance.

func NewServerWithConfig

func NewServerWithConfig(config config.Config) *Server

NewServerWithConfig returns a new test server instance with the specified configuration.

func (*Server) Start added in v0.9.0

func (server *Server) Start() error

Start starts the server.

func (*Server) Stop added in v0.9.0

func (server *Server) Stop() error

Stop stops the server.

func (*Server) Store added in v0.9.0

func (server *Server) Store() *Store

type Store added in v0.9.0

type Store struct {
	store.Service
}

func NewStoreWith added in v0.9.0

func NewStoreWith(service store.Service) *Store

func (*Store) String added in v0.9.0

func (s *Store) String() string

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

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