Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultPort = "4040"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(s *Server)
func DisableSignatureVerification ¶
func DisableSignatureVerification() Option
DisableSignatureVerification disables signature verification.
func DisableSwagger ¶
func DisableSwagger() Option
DisableSwagger allows to disable the swagger setup of the server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New( world servertypes.ProviderWorld, components []types.ComponentMetadata, messages []types.Message, opts ...Option, ) (*Server, error)
New returns an HTTP server with handlers for all QueryTypes and MessageTypes.
func (*Server) BroadcastEvent ¶
Click to show internal directories.
Click to hide internal directories.