puzzledbtest

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 11 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

func NewTLSConfig added in v1.3.1

func NewTLSConfig() (*tls.Config, error)

Types

type Client added in v0.9.0

type Client struct {
	*puzzledb.Client
}

func NewClient added in v0.9.0

func NewClient() *Client

type Config added in v1.2.0

type Config = puzzledb.Config

func NewConfig added in v1.3.1

func NewConfig() Config

NewConfig returns a new configuration.

func NewConfigWithString added in v1.2.0

func NewConfigWithString(conString string) (Config, error)

NewConfigWithString returns a new configuration with the specified string.

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