service

package
v0.0.0-...-ba33420 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package service application logic and implementation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

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

Bundle application service bundle

func New

func New(chain domain.Chain, raft domain.Raft, messenger pkgdomain.MessageBroker) *Bundle

New constructor

func (*Bundle) Subscribe

func (b *Bundle) Subscribe(ctx context.Context) error

Subscribe to all topics

type Raft

type Raft struct{}

Raft ...

type SimpleService

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

SimpleService simple chain service

func (*SimpleService) Query

func (ss *SimpleService) Query(payload []byte) (interface{}, error)

Query operation against blockchain

Jump to

Keyboard shortcuts

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