service

package
v0.1.0-proto2a Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MPL-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 ServiceAgent

type ServiceAgent struct {
	adk.Agent
	// contains filtered or unexported fields
}

ServiceAgent wraps a Python agent for service-type behavior.

func NewServiceAgent

func NewServiceAgent(path string) (*ServiceAgent, error)

NewServiceAgent creates a new service agent from a Python file.

func (*ServiceAgent) Describe

func (s *ServiceAgent) Describe() *meta.AgentInfo

func (*ServiceAgent) ID

func (s *ServiceAgent) ID() string

func (*ServiceAgent) Reload

func (s *ServiceAgent) Reload() error

func (*ServiceAgent) Restart

func (s *ServiceAgent) Restart() error

func (*ServiceAgent) Scope

func (s *ServiceAgent) Scope() string

func (*ServiceAgent) Start

func (s *ServiceAgent) Start() error

func (*ServiceAgent) Stop

func (s *ServiceAgent) Stop() error

func (*ServiceAgent) Type

func (s *ServiceAgent) Type() string

Jump to

Keyboard shortcuts

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