storage

package
v0.0.0-...-fc405d0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: GPL-3.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 ListPerson

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

func (*ListPerson) Add

func (p *ListPerson) Add(ps *Person)

Add is for adding person

func (*ListPerson) Show

func (p *ListPerson) Show()

type Message

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

func (*Message) AddMessage

func (m *Message) AddMessage(p PersonService)

func (*Message) Notify

func (m *Message) Notify(p ...*Person)

type Person

type Person struct {
	Name string
	Age  int
}

type PersonService

type PersonService interface {
	Add(*Person)
}

PersonService is person interface

Jump to

Keyboard shortcuts

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