service

package
v0.0.0-...-59ccd6a Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(conf *config.Config) (*Service, error)

func (*Service) BroadcastTx

func (s *Service) BroadcastTx(txBytes []byte) (int64, string, error)

func (*Service) Close

func (s *Service) Close() error

func (*Service) Config

func (s *Service) Config() *config.Config

func (*Service) EnclaveInfo

func (s *Service) EnclaveInfo() *sgx.EnclaveInfo

func (*Service) GRPCClient

func (s *Service) GRPCClient() *panacea.GrpcClient

func (*Service) Ipfs

func (s *Service) Ipfs() *ipfs.Ipfs

func (*Service) OracleAcc

func (s *Service) OracleAcc() *panacea.OracleAccount

func (*Service) OraclePrivKey

func (s *Service) OraclePrivKey() *btcec.PrivateKey

func (*Service) QueryClient

func (s *Service) QueryClient() *panacea.QueryClient

func (*Service) StartSubscriptions

func (s *Service) StartSubscriptions(events ...event.Event) error

Jump to

Keyboard shortcuts

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