ms

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conns = map[string]*Conn{}

Functions

func Close

func Close() error

func List

func List(siteTitle string) error

List will invoke microservice by title defined in config.json

func Open

func Open() error

Types

type Conn

type Conn struct {
	MicroService configs.MicroService
	ConnClient   *grpc.ClientConn
	FetchClient  pb.FetchNewsClient
}

Jump to

Keyboard shortcuts

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