Versions in this module Expand all Collapse all v0 v0.1.0 Aug 27, 2020 Changes in this version + type Auth interface + Auth func(ctx context.Context, name, pwd string) error + SignToken func(ctx context.Context) ([]byte, error) + VerifyToken func(ctx context.Context, token []byte) error + type Branch interface + CreateBranch func(ctx context.Context, branchName []byte) (*sys.Branch, error) + DeleteBranch func(ctx context.Context, branchId []byte) error + type CodePushAdapter interface + CreateBranch func(ctx context.Context, branchName []byte) (*pb.BranchResponse, error) + DeleteBranch func(ctx context.Context, branchId []byte) error + type CtorConfig struct + type Options struct + RootUserName string + RootUserPwd string + type SessionAdapter interface + GenerateAccessToken func(ctx context.Context, issuer sessionAdapter.AccessTokenIssuer, subject string) ([]byte, error) + VerifyAccessToken func(ctx context.Context, token string) (subject []byte, err error) + type UseCase interface + func NewUseCase(config CtorConfig, optionFns ...func(*Options)) UseCase