metadata

package
v0.0.0-...-5dc8409 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SdkVersion               = "0.1"
	SdkName                  = "Go-Chassis"
	SdkRegistrationComponent = "SDK"
)

constant for sdk version, name, registration component

Variables

View Source
var (
	Once = &sync.Once{}
)

variables of micro-service framework, mutex variable

Functions

This section is empty.

Types

type Framework

type Framework struct {
	Name     string
	Version  string
	Register string
}

Framework is for to represents name, version, registration

func NewFramework

func NewFramework() *Framework

NewFramework returns the object of msFramework

func (*Framework) SetName

func (f *Framework) SetName(name string)

SetName is to set the framework name

func (*Framework) SetRegister

func (f *Framework) SetRegister(register string)

SetRegister to register the framework

func (*Framework) SetVersion

func (f *Framework) SetVersion(version string)

SetVersion to set the version of framework

Jump to

Keyboard shortcuts

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