proto

package
v0.0.0-...-ded2e5e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AkamaiPurger_Purge_FullMethodName = "/akamai.AkamaiPurger/Purge"
)

Variables

View Source
var AkamaiPurger_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "akamai.AkamaiPurger",
	HandlerType: (*AkamaiPurgerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Purge",
			Handler:    _AkamaiPurger_Purge_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "akamai.proto",
}

AkamaiPurger_ServiceDesc is the grpc.ServiceDesc for AkamaiPurger 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_akamai_proto protoreflect.FileDescriptor

Functions

func RegisterAkamaiPurgerServer

func RegisterAkamaiPurgerServer(s grpc.ServiceRegistrar, srv AkamaiPurgerServer)

Types

type AkamaiPurgerClient

type AkamaiPurgerClient interface {
	Purge(ctx context.Context, in *PurgeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AkamaiPurgerClient is the client API for AkamaiPurger 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.

type AkamaiPurgerServer

type AkamaiPurgerServer interface {
	Purge(context.Context, *PurgeRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AkamaiPurgerServer is the server API for AkamaiPurger service. All implementations must embed UnimplementedAkamaiPurgerServer for forward compatibility

type PurgeRequest

type PurgeRequest struct {
	Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
	// contains filtered or unexported fields
}

func (*PurgeRequest) Descriptor deprecated

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

Deprecated: Use PurgeRequest.ProtoReflect.Descriptor instead.

func (*PurgeRequest) GetUrls

func (x *PurgeRequest) GetUrls() []string

func (*PurgeRequest) ProtoMessage

func (*PurgeRequest) ProtoMessage()

func (*PurgeRequest) ProtoReflect

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

func (*PurgeRequest) Reset

func (x *PurgeRequest) Reset()

func (*PurgeRequest) String

func (x *PurgeRequest) String() string

type UnimplementedAkamaiPurgerServer

type UnimplementedAkamaiPurgerServer struct {
}

UnimplementedAkamaiPurgerServer must be embedded to have forward compatible implementations.

func (UnimplementedAkamaiPurgerServer) Purge

type UnsafeAkamaiPurgerServer

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

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

Jump to

Keyboard shortcuts

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