Documentation
¶
Index ¶
- func DisplayProgressBar(current, total *int)
- func FindFilesWithBasePathBySuffixes(basePath string, suffixes []string) ([]string, error)
- func GetContentType(event *nostr.Event) (string, bool, error)
- func GetResponseContent(eventContent string, isTextFile bool) ([]byte, error)
- func ResolvePubKey(npubOrHex string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayProgressBar ¶
func DisplayProgressBar(current, total *int)
func FindFilesWithBasePathBySuffixes ¶
特定のパス以下のファイルを検索し、与えられたsuffixesに該当するファイルのパスのみを返す
func GetContentType ¶
Content-Typeをイベントから取得する。NIP-95の場合は第二引数がtrueになる。
func GetResponseContent ¶
func ResolvePubKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.