service

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middle

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

func NewMiddle

func NewMiddle(db *sqlx.DB, etcd *clientv3.Client, webURL string) *Middle

func (*Middle) Apps added in v0.0.9

func (s *Middle) Apps(ctx context.Context, payload *pb.TextRequest) (*pb.AppReply, error)

func (*Middle) Authorization added in v0.0.9

func (s *Middle) Authorization(ctx context.Context, payload *pb.TextRequest) (*pb.StateReply, error)

func (*Middle) CreateCredential added in v0.0.9

func (s *Middle) CreateCredential(ctx context.Context, payload *pb.KVsRequest) (*pb.TextReply, error)

func (*Middle) CreatePage

func (s *Middle) CreatePage(ctx context.Context, payload *pb.PageRequest) (*pb.TextReply, error)

func (*Middle) CreateSetting added in v0.0.9

func (s *Middle) CreateSetting(ctx context.Context, payload *pb.KVRequest) (*pb.TextReply, error)

func (*Middle) GetCredentials added in v0.0.9

func (s *Middle) GetCredentials(ctx context.Context, payload *pb.TextRequest) (*pb.CredentialReply, error)

func (*Middle) GetMenu added in v0.0.9

func (s *Middle) GetMenu(ctx context.Context, payload *pb.TextRequest) (*pb.TextReply, error)

func (*Middle) GetPage

func (s *Middle) GetPage(ctx context.Context, payload *pb.PageRequest) (*pb.PageReply, error)

func (*Middle) GetSetting added in v0.0.9

func (s *Middle) GetSetting(ctx context.Context, payload *pb.TextRequest) (*pb.SettingReply, error)

func (*Middle) Qr

func (s *Middle) Qr(ctx context.Context, payload *pb.TextRequest) (*pb.TextReply, error)

func (*Middle) StoreAppOAuth added in v0.0.9

func (s *Middle) StoreAppOAuth(ctx context.Context, payload *pb.AppRequest) (*pb.StateReply, error)

Jump to

Keyboard shortcuts

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