endpoint

package
v1.1.27 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	//endpoint unique id
	Id string

	//endpoint name
	Name string

	//endpoint version
	Version string

	// schema/name/version/id
	Absolute string

	//service server ip address
	Address string

	// name.version
	// eg. api.hello/v.1.0.0
	Scope string
}

func NewEndpoint added in v1.0.6

func NewEndpoint(id, name, address string) (*Endpoint, error)

NewEndpoint new a endpoint with schema,id,name,version,address

Jump to

Keyboard shortcuts

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