package
0.10.0
Repository: https://github.com/gatewayd-io/gatewayd.git
Documentation: pkg.go.dev

# README

Protocol Documentation

Table of Contents

Top

api/v1/api.proto

Group

Group is the object group to filter the global config by.

FieldTypeLabelDescription
group_namestringoptionalGroupName is the name of the group.

PluginConfig

PluginConfig is the configuration of the plugin.

FieldTypeLabelDescription
idPluginIDID is the identifier that uniquely identifies the plugin.
descriptionstringDescription is the description of the plugin.
authorsstringrepeatedAuthors is the list of authors of the plugin.
licensestringLicense is the license of the plugin.
project_urlstringProjectURL is the project URL of the plugin.
configPluginConfig.ConfigEntryrepeatedConfig is the internal and external configuration of the plugin.
hooksint32repeatedHooks is the list of hooks the plugin attaches to.
requiresPluginConfig.RequiresEntryrepeatedRequires is the list of plugins the plugin depends on.
tagsstringrepeatedTags is the list of tags of the plugin.
categoriesstringrepeatedCategories is the list of categories of the plugin.

PluginConfig.ConfigEntry

FieldTypeLabelDescription
keystring
valuestring

PluginConfig.RequiresEntry

FieldTypeLabelDescription
keystring
valuestring

PluginConfigs

PluginConfigs is the list of plugin configurations.

FieldTypeLabelDescription
configsPluginConfigrepeatedConfigs is the list of plugin configurations.

PluginID

PluginID is the identifier that uniquely identifies the plugin.

FieldTypeLabelDescription
namestringName is the name of the plugin.
versionstringVersion is the version of the plugin.
remote_urlstringRemoteURL is the remote URL of the plugin.
checksumstringChecksum is the checksum of the plugin.

VersionResponse

VersionResponse is the response returned by the Version RPC.

FieldTypeLabelDescription
versionstringVersion is the version of the GatewayD.
version_infostringVersionInfo is the detailed version info of the GatewayD.

GatewayDAdminAPIService

GatewayDAdminAPIService is the administration API of GatewayD.

Method NameRequest TypeResponse TypeDescription
Version.google.protobuf.EmptyVersionResponseVersion returns the version of the GatewayD.
GetGlobalConfigGroup.google.protobuf.StructGetGlobalConfig returns the global configuration of the GatewayD.
GetPluginConfig.google.protobuf.Empty.google.protobuf.StructGetPluginConfig returns the configuration of the specified plugin.
GetPlugins.google.protobuf.EmptyPluginConfigsGetPlugins returns the list of plugins installed on the GatewayD.
GetPools.google.protobuf.Empty.google.protobuf.StructGetPools returns the list of pools configured on the GatewayD.
GetProxies.google.protobuf.Empty.google.protobuf.StructGetProxies returns the list of proxies configured on the GatewayD.
GetServers.google.protobuf.Empty.google.protobuf.StructGetServers returns the list of servers configured on the GatewayD.

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)

# Functions

No description provided by the author
RegisterGatewayDAdminAPIServiceHandler registers the http handlers for service GatewayDAdminAPIService to "mux".
RegisterGatewayDAdminAPIServiceHandlerClient registers the http handlers for service GatewayDAdminAPIService to "mux".
RegisterGatewayDAdminAPIServiceHandlerFromEndpoint is same as RegisterGatewayDAdminAPIServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterGatewayDAdminAPIServiceHandlerServer registers the http handlers for service GatewayDAdminAPIService to "mux".
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
GatewayDAdminAPIService_ServiceDesc is the grpc.ServiceDesc for GatewayDAdminAPIService service.

# Structs

Group is the object group to filter the global config by.
PluginConfig is the configuration of the plugin.
PluginConfigs is the list of plugin configurations.
PluginID is the identifier that uniquely identifies the plugin.
UnimplementedGatewayDAdminAPIServiceServer must be embedded to have forward compatible implementations.
VersionResponse is the response returned by the Version RPC.

# Interfaces

GatewayDAdminAPIServiceClient is the client API for GatewayDAdminAPIService service.
GatewayDAdminAPIServiceServer is the server API for GatewayDAdminAPIService service.
UnsafeGatewayDAdminAPIServiceServer may be embedded to opt out of forward compatibility for this service.