v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminService_ClearCache_FullMethodName = "/mcpany.admin.v1.AdminService/ClearCache"
)

Variables

View Source
var AdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mcpany.admin.v1.AdminService",
	HandlerType: (*AdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ClearCache",
			Handler:    _AdminService_ClearCache_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/admin/v1/admin.proto",
}

AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_proto_admin_v1_admin_proto protoreflect.FileDescriptor

Functions

func RegisterAdminServiceServer

func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)

Types

type AdminServiceClient

type AdminServiceClient interface {
	// ClearCache clears all cached data in the server.
	ClearCache(ctx context.Context, in *ClearCacheRequest, opts ...grpc.CallOption) (*ClearCacheResponse, error)
}

AdminServiceClient is the client API for AdminService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

AdminService provides administrative operations for the MCP Any server.

type AdminServiceServer

type AdminServiceServer interface {
	// ClearCache clears all cached data in the server.
	ClearCache(context.Context, *ClearCacheRequest) (*ClearCacheResponse, error)
	// contains filtered or unexported methods
}

AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility.

AdminService provides administrative operations for the MCP Any server.

type ClearCacheRequest

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

func (*ClearCacheRequest) ProtoMessage

func (*ClearCacheRequest) ProtoMessage()

func (*ClearCacheRequest) ProtoReflect

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

func (*ClearCacheRequest) Reset

func (x *ClearCacheRequest) Reset()

func (*ClearCacheRequest) String

func (x *ClearCacheRequest) String() string

type ClearCacheRequest_builder

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

func (ClearCacheRequest_builder) Build

type ClearCacheResponse

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

func (*ClearCacheResponse) ProtoMessage

func (*ClearCacheResponse) ProtoMessage()

func (*ClearCacheResponse) ProtoReflect

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

func (*ClearCacheResponse) Reset

func (x *ClearCacheResponse) Reset()

func (*ClearCacheResponse) String

func (x *ClearCacheResponse) String() string

type ClearCacheResponse_builder

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

func (ClearCacheResponse_builder) Build

type UnimplementedAdminServiceServer

type UnimplementedAdminServiceServer struct{}

UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAdminServiceServer) ClearCache

type UnsafeAdminServiceServer

type UnsafeAdminServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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