service

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DemoService

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

DemoService struct

func (*DemoService) MessageRead

func (svc *DemoService) MessageRead(str string) (*godd.Map, *godd.Error)

MessageRead func

type Repository

type Repository interface {
	GetMessage(str string) (*godd.Map, *godd.Error)
}

Repository interface

type Service

type Service interface {
	MessageRead(str string) (*godd.Map, *godd.Error)
}

Service interface

func NewService

func NewService(repo Repository) (Service, error)

NewService New Service

Jump to

Keyboard shortcuts

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