proto

package
v0.0.0-...-27d56bb Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

README

proto definitions and gRPC clients

Summary

This directory contains the proto definitions for FlexModule.

Description

This directory stores the written proto definitions, as well as the gRPC clients generated from them using make buf. The generated gRPC clients are referenced in /shared and are used to create the FlexModule protocol wrappers.

We have also established some rules to improve the development experience and readability of the proto definitions.

hooks.proto

This file defines the interface that allows the runtime to execute modules and trigger events within them.

helpers.proto

This file defines the interface that allows modules to execute functions provided by the runtime (for example, SendMessage() in the case of Discord). Therefore, this protocol is not simply unidirectional; it enables mutual function calls between the runtime and modules.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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