webplanner

package
v0.77.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Separator = ", "

Variables

This section is empty.

Functions

This section is empty.

Types

type Action added in v0.74.0

type Action struct {
	Method    string
	Tag       string
	Arguments string
	Target    string
	Selectors []string
}

type ActionRequest added in v0.74.0

type ActionRequest struct {
	Exclusion  string `json:"exclusion"`
	Attributes string `json:"attributes"`
}

type Config

type Config struct {
	Port int
}

Config holds the configuration for the server

type Event added in v0.74.0

type Event struct {
	Type       string `json:"type"`
	TargetTag  string `json:"targetTag"`
	TargetHTML string `json:"targetHTML"`
	HolderHTML string `json:"holderHTML"`
	Key        string `json:"key"`
	MetaKey    bool   `json:"metaKey"`
}

type Service

type Service struct {
	Config *Config

	Keys   string
	Target string
	// contains filtered or unexported fields
}

Service represents the HTTP server.

func New

func New(config *Config) *Service

func NewService

func NewService(config *Config) *Service

NewService creates a new instance of Service with the provided config.

func (*Service) EnsureWebDriver

func (s *Service) EnsureWebDriver() error

func (*Service) RunCommands

func (s *Service) RunCommands(lines []string) (string, error)

func (*Service) Start

func (s *Service) Start()

Start starts the HTTP server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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