Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameSourceType ¶
type NameSourceType int
const ( NameSourceUnknown NameSourceType = iota NameSourceHTTPJsonRPC NameSourceInternalDAO NameSourceCronJob )
type ParsedName ¶
type ParsedName struct {
NameSource NameSourceType
FullName string `json:"fullName"` // FullName = OrgName + ApiName
OrgName string `json:"orgName"`
ApiName string `json:"apiName"` // ApiName = EntityName + EntityMethod
EntityName string `json:"entityName"`
EntityMethod string `json:"entityMethod"`
}
func ParseMethodName ¶
func ParseMethodName(method string, ns NameSourceType) (*ParsedName, error)
Click to show internal directories.
Click to hide internal directories.