server

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeraHttpRoute added in v0.1.32

type HeraHttpRoute struct {
	Name   string
	Handle func(ctx context.Context, request *models.HeraRequest) (*models.HeraResponse, error)
}

type Server

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

func New

func New(ctx context.Context, myEnvironment *environment.Environment, logger *zap.Logger) (*Server, error)

func (*Server) Run added in v0.1.32

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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