service

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 14 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) Authorization added in v0.0.9

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

func (*Middle) CreateCredential added in v0.0.9

func (s *Middle) CreateCredential(_ context.Context, payload *pb.KVsRequest) (*pb.StateReply, error)

func (*Middle) CreatePage

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

func (*Middle) CreateSetting added in v0.0.9

func (s *Middle) CreateSetting(_ context.Context, payload *pb.KVRequest) (*pb.StateReply, error)

func (*Middle) GetApps added in v0.0.17

func (s *Middle) GetApps(_ context.Context, _ *pb.TextRequest) (*pb.AppsReply, error)

func (*Middle) GetAvailableApp added in v0.0.15

func (s *Middle) GetAvailableApp(_ context.Context, payload *pb.TextRequest) (*pb.AppReply, error)

func (*Middle) GetCredential added in v0.0.15

func (s *Middle) GetCredential(_ context.Context, payload *pb.CredentialRequest) (*pb.CredentialReply, error)

func (*Middle) GetCredentials added in v0.0.9

func (s *Middle) GetCredentials(_ context.Context, _ *pb.TextRequest) (*pb.CredentialsReply, error)

func (*Middle) GetMaskingCredentials added in v0.0.17

func (s *Middle) GetMaskingCredentials(_ context.Context, _ *pb.TextRequest) (*pb.MaskingReply, error)

func (*Middle) GetMenu added in v0.0.9

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

func (*Middle) GetPage

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

func (*Middle) GetQrUrl added in v0.0.17

func (s *Middle) GetQrUrl(_ context.Context, payload *pb.TextRequest) (*pb.TextReply, error)

func (*Middle) GetSetting added in v0.0.9

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

func (*Middle) StoreAppOAuth added in v0.0.9

func (s *Middle) StoreAppOAuth(_ 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