orderservice

package
v0.0.0-...-11b1029 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, s *Server) error

Serve implements the application main Serve is called by weaver.Run and contains the body of the application.

Types

type Server

type Server struct {
	weaver.Implements[weaver.Main]
	// contains filtered or unexported fields
}

func (*Server) CreateOrder

func (s *Server) CreateOrder(w http.ResponseWriter, r *http.Request)

func (*Server) GetOrderByID

func (s *Server) GetOrderByID(w http.ResponseWriter, r *http.Request)

func (*Server) Init

func (s *Server) Init(context.Context) error

Jump to

Keyboard shortcuts

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