triple_api

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_metadata_service_v2_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MetadataInfo

type MetadataInfo struct {
	App      string
	Version  string
	Services map[string]*ServiceInfo
}

func (*MetadataInfo) GetApp

func (x *MetadataInfo) GetApp() string

func (*MetadataInfo) GetServices

func (x *MetadataInfo) GetServices() map[string]*ServiceInfo

func (*MetadataInfo) GetVersion

func (x *MetadataInfo) GetVersion() string

func (*MetadataInfo) JavaClassName

func (x *MetadataInfo) JavaClassName() string

func (*MetadataInfo) String

func (x *MetadataInfo) String() string

type MetadataInfoV2

type MetadataInfoV2 struct {
	App      string                    `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	Version  string                    `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Services map[string]*ServiceInfoV2 `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MetadataInfoV2) Descriptor deprecated

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

Deprecated: Use MetadataInfoV2.ProtoReflect.Descriptor instead.

func (*MetadataInfoV2) GetApp

func (x *MetadataInfoV2) GetApp() string

func (*MetadataInfoV2) GetServices

func (x *MetadataInfoV2) GetServices() map[string]*ServiceInfoV2

func (*MetadataInfoV2) GetVersion

func (x *MetadataInfoV2) GetVersion() string

func (*MetadataInfoV2) ProtoMessage

func (*MetadataInfoV2) ProtoMessage()

func (*MetadataInfoV2) ProtoReflect

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

func (*MetadataInfoV2) Reset

func (x *MetadataInfoV2) Reset()

func (*MetadataInfoV2) String

func (x *MetadataInfoV2) String() string

type MetadataRequest

type MetadataRequest struct {
	Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataRequest) Descriptor deprecated

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

Deprecated: Use MetadataRequest.ProtoReflect.Descriptor instead.

func (*MetadataRequest) GetRevision

func (x *MetadataRequest) GetRevision() string

func (*MetadataRequest) ProtoMessage

func (*MetadataRequest) ProtoMessage()

func (*MetadataRequest) ProtoReflect

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

func (*MetadataRequest) Reset

func (x *MetadataRequest) Reset()

func (*MetadataRequest) String

func (x *MetadataRequest) String() string

type ServiceInfo

type ServiceInfo struct {
	Name     string
	Group    string
	Version  string
	Protocol string
	Port     int32
	Path     string
	Params   map[string]string
}

func (*ServiceInfo) GetGroup

func (x *ServiceInfo) GetGroup() string

func (*ServiceInfo) GetName

func (x *ServiceInfo) GetName() string

func (*ServiceInfo) GetParams

func (x *ServiceInfo) GetParams() map[string]string

func (*ServiceInfo) GetPath

func (x *ServiceInfo) GetPath() string

func (*ServiceInfo) GetPort

func (x *ServiceInfo) GetPort() int32

func (*ServiceInfo) GetProtocol

func (x *ServiceInfo) GetProtocol() string

func (*ServiceInfo) GetVersion

func (x *ServiceInfo) GetVersion() string

func (*ServiceInfo) JavaClassName

func (x *ServiceInfo) JavaClassName() string

func (*ServiceInfo) String

func (x *ServiceInfo) String() string

type ServiceInfoV2

type ServiceInfoV2 struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Group    string            `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	Version  string            `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Protocol string            `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Port     int32             `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	Path     string            `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	Params   map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServiceInfoV2) Descriptor deprecated

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

Deprecated: Use ServiceInfoV2.ProtoReflect.Descriptor instead.

func (*ServiceInfoV2) GetGroup

func (x *ServiceInfoV2) GetGroup() string

func (*ServiceInfoV2) GetName

func (x *ServiceInfoV2) GetName() string

func (*ServiceInfoV2) GetParams

func (x *ServiceInfoV2) GetParams() map[string]string

func (*ServiceInfoV2) GetPath

func (x *ServiceInfoV2) GetPath() string

func (*ServiceInfoV2) GetPort

func (x *ServiceInfoV2) GetPort() int32

func (*ServiceInfoV2) GetProtocol

func (x *ServiceInfoV2) GetProtocol() string

func (*ServiceInfoV2) GetVersion

func (x *ServiceInfoV2) GetVersion() string

func (*ServiceInfoV2) ProtoMessage

func (*ServiceInfoV2) ProtoMessage()

func (*ServiceInfoV2) ProtoReflect

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

func (*ServiceInfoV2) Reset

func (x *ServiceInfoV2) Reset()

func (*ServiceInfoV2) String

func (x *ServiceInfoV2) String() string

Jump to

Keyboard shortcuts

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