http

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Option

type Option func(*Service) error

func DvKey

func DvKey(publicKey []byte) Option

type Service

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

func New

func New(srv nodeIface.Service, config *config.Node, options ...Option) (*Service, error)

func (*Service) Cache

func (s *Service) Cache() commonIface.Cache

func (*Service) CheckTns

func (s *Service) CheckTns(matcherIface commonIface.MatchDefinition) ([]commonIface.Serviceable, error)

func (*Service) Close

func (s *Service) Close() error

func (*Service) Handler added in v1.1.0

func (s *Service) Handler(w goHttp.ResponseWriter, r *goHttp.Request)

func (*Service) Lookup added in v1.1.0

func (s *Service) Lookup(matcher *common.MatchDefinition) (iface.Serviceable, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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