cache

package
v1.3.0-rc.0...-12c9840 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct{}

func (*Cache) GetOrgByOrgID

func (c *Cache) GetOrgByOrgID(orgID string) (*orgpb.Org, bool)

GetOrgByOrgID gets the *apistructs.OrgDTO by orgID from the newest cache

func (*Cache) GetOrgByProjectID

func (c *Cache) GetOrgByProjectID(projectID string) (*orgpb.Org, bool)

GetOrgByProjectID gets the *apistructs.OrgDTO by projectID from the newest cache

Jump to

Keyboard shortcuts

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