discovery

package
v0.0.0-...-4109721 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package discovery provides a core business API of a discovery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContent

func CreateContent(operationType string, disco Discovery) (string, error)

CreateContent creates a message discovery content, this content is encoded in base64.

Types

type Discovery

type Discovery struct {
	Dataset string
}

Discovery contains dataset.

func New

func New(dataset []byte) Discovery

New is a factory function to create a Discovery.

Jump to

Keyboard shortcuts

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