__

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterVigilanteServiceServer

func RegisterVigilanteServiceServer(s *grpc.Server, srv VigilanteServiceServer)

Types

type UnimplementedVigilanteServiceServer

type UnimplementedVigilanteServiceServer struct {
}

UnimplementedVigilanteServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedVigilanteServiceServer) Version

type VersionRequest

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

func (*VersionRequest) Descriptor deprecated

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

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect

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

func (*VersionRequest) Reset

func (x *VersionRequest) Reset()

func (*VersionRequest) String

func (x *VersionRequest) String() string

type VersionResponse

type VersionResponse struct {
	VersionString string `protobuf:"bytes,1,opt,name=version_string,json=versionString,proto3" json:"version_string,omitempty"`
	Major         uint32 `protobuf:"varint,2,opt,name=major,proto3" json:"major,omitempty"`
	Minor         uint32 `protobuf:"varint,3,opt,name=minor,proto3" json:"minor,omitempty"`
	Patch         uint32 `protobuf:"varint,4,opt,name=patch,proto3" json:"patch,omitempty"`
	Prerelease    string `protobuf:"bytes,5,opt,name=prerelease,proto3" json:"prerelease,omitempty"`
	BuildMetadata string `protobuf:"bytes,6,opt,name=build_metadata,json=buildMetadata,proto3" json:"build_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetBuildMetadata

func (x *VersionResponse) GetBuildMetadata() string

func (*VersionResponse) GetMajor

func (x *VersionResponse) GetMajor() uint32

func (*VersionResponse) GetMinor

func (x *VersionResponse) GetMinor() uint32

func (*VersionResponse) GetPatch

func (x *VersionResponse) GetPatch() uint32

func (*VersionResponse) GetPrerelease

func (x *VersionResponse) GetPrerelease() string

func (*VersionResponse) GetVersionString

func (x *VersionResponse) GetVersionString() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

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

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

type VigilanteServiceClient

type VigilanteServiceClient interface {
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}

VigilanteServiceClient is the client API for VigilanteService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type VigilanteServiceServer

type VigilanteServiceServer interface {
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
}

VigilanteServiceServer is the server API for VigilanteService service.

Jump to

Keyboard shortcuts

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