pb

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ip_access_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IPS

type IPS struct {
	Action string   `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Addrs  []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*IPS) Descriptor deprecated

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

Deprecated: Use IPS.ProtoReflect.Descriptor instead.

func (*IPS) GetAction

func (x *IPS) GetAction() string

func (*IPS) GetAddrs

func (x *IPS) GetAddrs() []string

func (*IPS) ProtoMessage

func (*IPS) ProtoMessage()

func (*IPS) ProtoReflect

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

func (*IPS) Reset

func (x *IPS) Reset()

func (*IPS) String

func (x *IPS) String() string

type IpAccess

type IpAccess struct {
	DefaultAction string `protobuf:"bytes,1,opt,name=default_action,json=defaultAction,proto3" json:"default_action,omitempty"`
	Header        string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	Ips           []*IPS `protobuf:"bytes,3,rep,name=ips,proto3" json:"ips,omitempty"`
	// contains filtered or unexported fields
}

func (*IpAccess) Descriptor deprecated

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

Deprecated: Use IpAccess.ProtoReflect.Descriptor instead.

func (*IpAccess) GetDefaultAction

func (x *IpAccess) GetDefaultAction() string

func (*IpAccess) GetHeader

func (x *IpAccess) GetHeader() string

func (*IpAccess) GetIps

func (x *IpAccess) GetIps() []*IPS

func (*IpAccess) ProtoMessage

func (*IpAccess) ProtoMessage()

func (*IpAccess) ProtoReflect

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

func (*IpAccess) Reset

func (x *IpAccess) Reset()

func (*IpAccess) String

func (x *IpAccess) String() string

Jump to

Keyboard shortcuts

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