Documentation ¶
Index ¶
Constants ¶
const (
AkamaiPurger_Purge_FullMethodName = "/akamai.AkamaiPurger/Purge"
)
Variables ¶
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)
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.
func NewAkamaiPurgerClient ¶
func NewAkamaiPurgerClient(cc grpc.ClientConnInterface) AkamaiPurgerClient
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 ¶
func (UnimplementedAkamaiPurgerServer) Purge(context.Context, *PurgeRequest) (*emptypb.Empty, error)
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.