userservice

package
v0.0.0-...-4e74fe6 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Name string
	Age  int
}

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func (*UserService) CreateNewUser

func (u *UserService) CreateNewUser(name string, age int)

func (*UserService) GetUsers

func (u *UserService) GetUsers() []User

type UserServiceRPC

type UserServiceRPC interface {
	CreateNewUser(name string, age int)
	GetUsers() []User
}

Jump to

Keyboard shortcuts

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