handle

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewService

func NewService() (micro.Service, error)

func NewWeb

func NewWeb() (*gin.Engine, error)

func WebRoute

func WebRoute(r *gin.Engine)

Types

type Options

type Options struct {
	Svr micro.Service
	Web *gin.Engine
}

func NewOptions

func NewOptions(r *gin.Engine, s micro.Service) (*Options, error)

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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