http

package
v0.0.0-...-7be9f71 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "http"

Variables

This section is empty.

Functions

func NewService

func NewService(ctx gousu.IContext) gousu.IService

Types

type IService

type IService interface {
	gousu.IService

	Query(ctx context.Context, method string, url string, headers map[string][]string, body null.String) error
}

type Service

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

func (*Service) Health

func (s *Service) Health() error

func (*Service) Name

func (s *Service) Name() string

func (*Service) Query

func (s *Service) Query(ctx context.Context, method string, url string, headers map[string][]string, body null.String) error

func (*Service) Start

func (s *Service) Start() error

func (*Service) Stop

func (s *Service) Stop() error

Jump to

Keyboard shortcuts

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