system

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package system defines the system service.

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: proto/nerdbox/services/system/v1/info.proto

Index

Constants

This section is empty.

Variables

View Source
var File_proto_nerdbox_services_system_v1_info_proto protoreflect.FileDescriptor

Functions

func RegisterTTRPCSystemService

func RegisterTTRPCSystemService(srv *ttrpc.Server, svc TTRPCSystemService)

Types

type InfoResponse

type InfoResponse struct {
	Version       string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	KernelVersion string `protobuf:"bytes,2,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoResponse) Descriptor deprecated

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

Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.

func (*InfoResponse) GetKernelVersion

func (x *InfoResponse) GetKernelVersion() string

func (*InfoResponse) GetVersion

func (x *InfoResponse) GetVersion() string

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) ProtoReflect

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

func (*InfoResponse) Reset

func (x *InfoResponse) Reset()

func (*InfoResponse) String

func (x *InfoResponse) String() string

type TTRPCSystemService

type TTRPCSystemService interface {
	Info(context.Context, *emptypb.Empty) (*InfoResponse, error)
}

func NewTTRPCSystemClient

func NewTTRPCSystemClient(client *ttrpc.Client) TTRPCSystemService

Jump to

Keyboard shortcuts

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