msgsub

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageTopicValidator

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

MessageTopicValidator may be registered on go-libp3p-pubsub to validate msgsub payloads.

func NewMessageTopicValidator

NewMessageTopicValidator returns a MessageTopicValidator using the input signature and syntax validators.

func (*MessageTopicValidator) Opts

func (*MessageTopicValidator) Topic

func (mtv *MessageTopicValidator) Topic(network string) string

func (*MessageTopicValidator) Validator

func (mtv *MessageTopicValidator) Validator() pubsub.Validator

Jump to

Keyboard shortcuts

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