api

package
v0.11.18 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the instance of the Clace Server

func NewServer

func NewServer(config *ServerConfig) (*Server, error)

NewServer creates a new instance of the Clace Server

func (*Server) Start

func (s *Server) Start() error

Start starts the Clace Server

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Stop stops the Clace Server

type ServerConfig

type ServerConfig struct {
	*types.ServerConfig
}

ServerConfig is the configuration for the Clace Server

func NewServerConfig

func NewServerConfig() (*ServerConfig, error)

Jump to

Keyboard shortcuts

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