user

package
v0.0.0-...-fc4d7b3 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "User"

ServiceName definition

Variables

This section is empty.

Functions

func InjectSA

func InjectSA(ServiceAddress string)

InjectSA inject server address into registry

func Register

func Register(DB *nap.DB)

Register publishes the receiver's methods User in the DefaultServer.

Types

type User

type User struct {
}

User definition

func (*User) GetUser

func (u *User) GetUser(x, reply *string) error

GetUser get all user info

type UserService

type UserService interface {
	GetUser()
}

UserService definition

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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