plugin

package
v0.0.0-...-2a1fef4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts ...Option) (*server, error)

Run run

func RunHTTP

func RunHTTP(opts ...Option) (*server, error)

RunHTTP 只启动http

Types

type Option

type Option func(*options)

Option option list

func WithAddr

func WithAddr(addr string) Option

WithAddr addr model init. 地址初始化

func WithGin

func WithGin(router *gin.Engine) Option

WithGin gin model init. gen 初始化模式

func WithMicro

func WithMicro(service micro.Service) Option

WithMicro micro model init. micro 初始化模式

Jump to

Keyboard shortcuts

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