server

package
v0.0.0-...-af4311f Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Product

type Product struct {
	ID    string `json:"id"`
	Title string `json:"title"`
}

Product defines product example

type ProductServer

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

ProductServer defines a product server

func NewProductServer

func NewProductServer() *ProductServer

NewProductServer returns a product server

func (*ProductServer) Clean

func (s *ProductServer) Clean(template *runtime.RoundTripTemplate, args map[string]string) error

Clean implements cleaner.Cleaner

func (*ProductServer) Name

func (s *ProductServer) Name() string

Name implements cleaner.Cleaner

func (*ProductServer) Register

func (s *ProductServer) Register()

Register register route

Jump to

Keyboard shortcuts

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