Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItolUploader ¶
type ItolUploader struct {
// contains filtered or unexported fields
}
func NewItolUploader ¶
func NewItolUploader(uploadid, projectname string, annotationfiles ...string) *ItolUploader
Initialize a new itoluploader if uploadid=="", then tree will be public and deleted after 30 days
func (*ItolUploader) UploadNewick ¶ added in v0.1.12
type Uploader ¶
type Uploader interface { Upload(name string, t *tree.Tree) (string, string, error) // Upload a tree with a given name to a server and returns the url to access the tree, and full server response UploadNewick(name string, newick string) (string, string, error) // Upload a newick tree with a given name to a server and returns the url to access the tree, and full server response }
Click to show internal directories.
Click to hide internal directories.