service

package
v0.0.0-...-fa62366 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Service

type Service struct {
	api.UnimplementedCacosServer
	// contains filtered or unexported fields
}

Service service.

func New

func New(query query.Client, eventSourcing sourcing.Client) (s *Service, cf func(), err error)

New new a service and return.

func (*Service) AddApp

func (s *Service) AddApp(ctx context.Context, in *api.AddAppReq) (out *empty.Empty, err error)

func (*Service) AddKV

func (s *Service) AddKV(ctx context.Context, in *api.AddKVReq) (out *empty.Empty, err error)

func (*Service) AddNamespace

func (s *Service) AddNamespace(ctx context.Context, in *api.AddNamespaceReq) (out *empty.Empty, err error)

func (*Service) AppList

func (s *Service) AppList(ctx context.Context, in *api.AppListReq) (out *api.AppListReply, err error)

func (*Service) AuthLogin

func (s *Service) AuthLogin(ctx context.Context, req *api.LoginRequest) (reply *api.LoginReply, err error)

func (*Service) KvList

func (s *Service) KvList(ctx context.Context, in *api.KVListReq) (out *api.KVListReply, err error)

func (*Service) NamespaceList

func (s *Service) NamespaceList(ctx context.Context, in *empty.Empty) (out *api.NamespaceListReply, err error)

func (*Service) SayHello

func (s *Service) SayHello(ctx context.Context, req *api.HelloRequest) (reply *api.HelloReply, err error)

Jump to

Keyboard shortcuts

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