proto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_acl_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ACLConfig

type ACLConfig struct {

	// ccName - should be empty, field will be filled while Init transaction, filler will be ignored
	CcName string `protobuf:"bytes,1,opt,name=ccName,proto3" json:"ccName,omitempty"`
	// adminSKIEncoded - ACL admin public key SKI in hex format
	AdminSKIEncoded string `protobuf:"bytes,2,opt,name=adminSKIEncoded,proto3" json:"adminSKIEncoded,omitempty"`
	// validators - set of validators public keys
	Validators []*ACLValidator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

Config stores ACL configuration parameters.

func (*ACLConfig) Descriptor deprecated

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

Deprecated: Use ACLConfig.ProtoReflect.Descriptor instead.

func (*ACLConfig) GetAdminSKIEncoded

func (x *ACLConfig) GetAdminSKIEncoded() string

func (*ACLConfig) GetCcName

func (x *ACLConfig) GetCcName() string

func (*ACLConfig) GetValidators

func (x *ACLConfig) GetValidators() []*ACLValidator

func (*ACLConfig) ProtoMessage

func (*ACLConfig) ProtoMessage()

func (*ACLConfig) ProtoReflect

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

func (*ACLConfig) Reset

func (x *ACLConfig) Reset()

func (*ACLConfig) String

func (x *ACLConfig) String() string

type ACLValidator

type ACLValidator struct {
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	KeyType   string `protobuf:"bytes,2,opt,name=keyType,proto3" json:"keyType,omitempty"`
	// contains filtered or unexported fields
}

func (*ACLValidator) Descriptor deprecated

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

Deprecated: Use ACLValidator.ProtoReflect.Descriptor instead.

func (*ACLValidator) GetKeyType

func (x *ACLValidator) GetKeyType() string

func (*ACLValidator) GetPublicKey

func (x *ACLValidator) GetPublicKey() string

func (*ACLValidator) ProtoMessage

func (*ACLValidator) ProtoMessage()

func (*ACLValidator) ProtoReflect

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

func (*ACLValidator) Reset

func (x *ACLValidator) Reset()

func (*ACLValidator) String

func (x *ACLValidator) String() string

Jump to

Keyboard shortcuts

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