http

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(New, NewClient)

Functions

This section is empty.

Types

type Client

type Client struct{}

func NewClient

func NewClient() *Client

func (*Client) PostJSON

func (c *Client) PostJSON(url string, body interface{}) (*fasthttp.Response, error)

type Server

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

func New

func New(conf *config.AppConfig, router func(router fiber.Router), logger log.Logger) (*Server, error)

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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