endpoint

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: Apache-2.0 Imports: 1 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

	//enpoint version
	Version string

	// schema.name.version.id
	// eg. goroc.api.hello.v.1.1.1.2d1bd2f9-6951-4235-83bd-d6f38b358552
	Absolute string

	//service server ip address
	Address string

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

func (*Endpoint) Splicing

func (e *Endpoint) Splicing(schema string) *Endpoint

Splicing generate scope and absolute with schema

Jump to

Keyboard shortcuts

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