actorv1

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_grpcproc_actor_v1_actor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Control

type Control struct {

	// Types that are valid to be assigned to Op:
	//
	//	*Control_Start
	//	*Control_Stop
	Op isControl_Op `protobuf_oneof:"op"`
	// contains filtered or unexported fields
}

Control asks a supervisor to start a child, or to stop one.

func (*Control) Descriptor deprecated

func (*Control) Descriptor() ([]byte, []int)

Deprecated: Use Control.ProtoReflect.Descriptor instead.

func (*Control) GetOp

func (x *Control) GetOp() isControl_Op

func (*Control) GetStart

func (x *Control) GetStart() uint64

func (*Control) GetStop

func (x *Control) GetStop() *v1.PID

func (*Control) ProtoMessage

func (*Control) ProtoMessage()

func (*Control) ProtoReflect

func (x *Control) ProtoReflect() protoreflect.Message

func (*Control) Reset

func (x *Control) Reset()

func (*Control) String

func (x *Control) String() string

type Control_Start

type Control_Start struct {
	// A child spec its caller registered in the actor package under this
	// id. A spec holds Go functions, so only a supervisor on the caller's
	// node can start it.
	Start uint64 `protobuf:"varint,1,opt,name=start,proto3,oneof"`
}

type Control_Stop

type Control_Stop struct {
	// A running child to stop and forget.
	Stop *v1.PID `protobuf:"bytes,2,opt,name=stop,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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