Documentation
¶
Index ¶
- func NewFakeFanbox(posts map[string]fanboxgo.Post) *fakeFanbox
- type CustomFanbox
- func (f CustomFanbox) CreatePost() (string, error)
- func (f CustomFanbox) DeletePost(postId string) error
- func (f CustomFanbox) GetPost(postId string) (fanboxgo.Post, error)
- func (f CustomFanbox) GetPosts() ([]fanboxgo.Post, error)
- func (f CustomFanbox) PushPost(post *fanboxgo.Post) (fanboxgo.Post, error)
- type SecurityStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeFanbox ¶
Types ¶
type CustomFanbox ¶
type CustomFanbox struct {
Client fanboxgo.Invoker
SecurityStore SecurityStore
// contains filtered or unexported fields
}
func NewFanbox ¶
func NewFanbox(csrfToken, sessionId, userAgent string) (*CustomFanbox, error)
func NewTestFanbox ¶
func NewTestFanbox(client fanboxgo.Invoker) *CustomFanbox
func (CustomFanbox) CreatePost ¶
func (f CustomFanbox) CreatePost() (string, error)
func (CustomFanbox) DeletePost ¶
func (f CustomFanbox) DeletePost(postId string) error
type SecurityStore ¶
type SecurityStore struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.