query

package
v0.9.9-rc2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(ctx *cli.Context, baseService service.Service) (service.Service, error)

RegisterService registers the GraphQL service with the provided CLI context and base service.

It initializes a new ACL service instance and returns it as a service.Service interface.

Types

type Service

type Service struct {
	*service.BaseService
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx *cli.Context, baseService *service.BaseService) (*Service, error)

NewService creates a new instance of the ACL service.

It initializes the service with the provided CLI context and base service. The ACL service registers GRPC server ACL middleware and namespaces for RPC.

func (*Service) Dependencies

func (s *Service) Dependencies() map[service.DependencyName]service.Option

func (*Service) Start

func (s *Service) Start(network utils.Network, networkId utils.NetworkID) error

func (*Service) Stop

func (s *Service) Stop() error

Stop stops the GraphQL service.

This method does nothing at the moment and may not perform any actions in the future.

Jump to

Keyboard shortcuts

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